c++.dos.32-bits - CPU Target
- "Michel Bolton" <absolute1008 hotmail.com> Jan 06 2002
- "Walter" <walter digitalmars.com> Jan 07 2002
Hi... Question #1: If I set the Target CPU to "Pentium", does it mean that it will optimize the code for Pentium 1 only or for all the pentium - class processors? Question #2: Does it make a difference (in speed) if I use Double Word Allignment or Quadriple Word Allignment for Structures? Thanks...
Jan 06 2002
"Michel Bolton" <absolute1008 hotmail.com> wrote in message news:a1atlv$853$1 digitaldaemon.com...Hi... Question #1: If I set the Target CPU to "Pentium", does it mean that
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.Question #2: Does it make a difference (in speed) if I use Double Word 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








"Walter" <walter digitalmars.com>