NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-mac68k/13078 (Mac 68LC040 problem)



The following reply was made to PR port-mac68k/13078; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: Nathanial Sloss <nathanialsloss%yahoo.com.au@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: port-mac68k/13078 (Mac 68LC040 problem)
Date: Sat, 30 Nov 2024 13:09:32 +0100

 Impressive!
 
 I would suggest to split this into two parts and make them
 optional, defaulting to the broken cpu compat as in your diff in the
 official builds, but allowing other to optimize "real 040" or other
 builds w/o the penalty.
 
  1) gcc - this needs to be upstreamed. Make it conditional on a -f or
     -m option and use that option in our default builds for m68k.
     This option should cause an additional internal define so code
     can #ifdef on that
  2) Make all other changes conditional on the new automatic define
     if the lc040 option is used to compile something. Maybe define
     a LC040_NOP that goes away w/o that define.
 
 
 Martin
 


Home | Main Index | Thread Index | Old Index