www.digitalmars.com         C & C++   DMDScript  

c++.dos.32-bits - CPU Target

reply "Michel Bolton" <absolute1008 hotmail.com> writes:
Hi...


will optimize the code for Pentium 1 only or for all the pentium - class
processors?


Allignment or Quadriple Word Allignment for Structures?

Thanks...
Jan 06 2002
parent "Walter" <walter digitalmars.com> writes:
"Michel Bolton" <absolute1008 hotmail.com> wrote in message
news:a1atlv$853$1 digitaldaemon.com...
 Hi...


it
 will optimize the code for Pentium 1 only or for all the pentium - class
 processors?
Pentium 1. Using -6 will target the Pentium II. -6 works well with Pentium III, too.

 Allignment or Quadriple Word Allignment for Structures?

 Thanks...
That all depends on your particular hardware architecture. The best way to tell is to try it both ways and time it.
Jan 07 2002