Re: Predefine _M_IX86 in gcc
Danny Smith <[email protected]>
| Newsgroups | gmane.comp.gnu.mingw.patches |
|---|---|
| Message-ID | <001b01c2a931$e5d5a230$bc98a7cb@DANNY> |
----- Original Message ----- From: "Earnie Boyd" <earnie_boyd-/[email protected]> To: "Cosmin Truta" <[email protected]> Cc: "Danny Smith" <[email protected]>; <[email protected]> Sent: Saturday, 21 December 2002 19:38 Subject: Re: [MinGW-patches] Predefine _M_IX86 in gcc > Cosmin Truta wrote: > > > > I've just looked into the mingw specs, and I saw in the long line > > "... march=i486:-D__i486 -D__i486__ ..." > > which can go into > > "... march=i486:-D__i486 -D__i486__ -D_M_IX86=400 ..." > > > > Danny, I think Cosmin's points are valid based on code I've seen > floating around. However, should the macro definition be based on mcpu > or march? > -march, if it is to be useful It would then provide information on what insn set is available, not just how scheduling of the i386 insn set is tuned. The __i386__, __i486__ predefines are based on -march . As I said in my ealrlier post, Cosmin's points may be valid, but adding this nice feature has much lower priority for me than fixing other problems I don't think manually editting the specs file after the build is a good thing to do. So I will look forward to Cosmin's patch to gcc Danny > Earnie. > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: Order your Holiday Geek Presents Now! > Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap, > MP3 Players, XBox Games, Flying Saucers, WebCams, Smart Putty. > T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ > _______________________________________________ > MinGW-patches mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mingw-patches ------------------------------------------------------- This SF.NET email is sponsored by: Order your Holiday Geek Presents Now! Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap, MP3 Players, XBox Games, Flying Saucers, WebCams, Smart Putty. T H I N K G E E K . C O M http://www.thinkgeek.com/sf/