This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why use pentium4 for Pentium M?


On Tue, Feb 27, 2007 at 12:30:16PM +0800, Zuxy Meng wrote:
> Hi,
> 
> -march=native choose pentium4 instead of pentium-m for Pentium M processors 
> (see config/i386/driver-i386.c)? Is this intentional or a typo?
> 

It is because Pentium M implements Pentium instructions. You should
get:

bash-3.00$ /usr/gcc-4.3/bin/gcc -march=native x.i -S -v
...
 /usr/gcc-4.3/libexec/gcc/i686-pc-linux-gnu/4.3.0/cc1 -fpreprocessed x.i -march=pentium4 -mtune=generic -quiet -dumpbase x.i -auxbase x -version -o x.s

H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]