February 22, 2006 Re: What CPU does DMD optimize for? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter, thanks for clarifying this. - Def In article <dtfpdh$2gih$2@digitaldaemon.com>, Walter Bright says... > > >"Def" <Def_member@pathlink.com> wrote in message news:dtf8t0$1uh4$1@digitaldaemon.com... >> This question remains unanswered. I assume 386 and higher, but is it correct? It is important to mark my apps to the end user as "needs 386 or higher" or whatever. > >Yes, it's 386 or higher. > >>>> If so, what processor will DMD optimize the code for if the -O option is invoked? >>> >>>Pentium 6 >> >> This is an unusual term, for me at least. If, for example, we refer to http://en.wikipedia.org/wiki/Pentium_1 then which processor is the one you mean exactly? > >Pentium Pro. > > |
February 22, 2006 Re: What CPU does DMD optimize for? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote: >>This question remains unanswered. I assume 386 and higher, but is it >>correct? It is important to mark my apps to the end user as "needs 386 or >>higher" or whatever. > > Yes, it's 386 or higher. > >>>>If so, what processor will DMD optimize the code for if the -O option is >>>>invoked? >>> >>>Pentium 6 >> >>This is an unusual term, for me at least. If, for example, we refer to >>http://en.wikipedia.org/wiki/Pentium_1 then which processor is the one >>you mean exactly? > > Pentium Pro. In case anyone wonders, the equivalent flags for GDC are: Old style: -march=i386 -mcpu=i686 New style: -march=i386 -mtune=pentium4 (as used by RPM, which builds as .i386.rpm by default even though usually a Pentium or better is required in practice) Where: i586 == pentium i686 == pentiumpro http://gcc.gnu.org/onlinedocs/gcc-4.0.2/gcc/i386-and-x86_002d64-Options.html --anders |
February 24, 2006 Re: What CPU does DMD optimize for? | ||||
---|---|---|---|---|
| ||||
Posted in reply to pmoore | "pmoore" <pmoore_member@pathlink.com> wrote in message news:dtft1s$2kee$1@digitaldaemon.com... > Walter, Does DMC actually emit any Pentium Pro instructions eg. CMOV, FCMOV? No. > If > not I would class it as 486 or higher as it definitely _does_ require a > FPU. An FPU is not required, as Win32 will emulate the FPU on a 386 if there isn't one. This *could* be a problem on the DOS32 system, but DMC will generate calls to its own emulator for that. Also, the 386 did have a 387 FPU available for it. |
February 24, 2006 Re: What CPU does DMD optimize for? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote: >> Hello, I assume that DMD generates code for 386 and higher. Is this correct? >> If so, what processor will DMD optimize the code for if the -O option is >> invoked? > > Pentium 6 Wow! And we're currently at Pentium 4! Talk about bleeding edge! I just had to say it <g> -- Niko Korhonen SW Developer |
Copyright © 1999-2021 by the D Language Foundation