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]

Penitum II & egcs 1.1.1 oddity


I've compiled egcs 1.1.1 having tried the standard 1.1.1 release and the
1.1.1 patched release.  I've compiled on RedHat Linux 5.2 / PII 400.  I
compiled using 'configure --enable-shared --enable-haifa'.

Is it normal that the compiler is sending -mcpu=pentiumpro but
-march=pentium by default?  For example, this is the output from 'gcc
-fverbose-asm -S test.c'

# GNU C version egcs-2.91.60.1 19990115/Linux (egcs-1.1.1 release)
(i686-pc-linux-gnu) compiled by GNU C version egcs-2.91.60.1
19990115/Linux (egcs-1.1.1 release).
# options passed:  -fverbose-asm
# options enabled:  -fpeephole -ffunction-cse -fkeep-static-consts
# -fpcc-struct-return -fsched-interblock -fsched-spec -fcommon
# -fverbose-asm -fgnu-linker -fargument-alias -m80387 -mhard-float
# -mno-soft-float -mieee-fp -mfp-ret-in-387 -mschedule-prologue
# -mcpu=pentiumpro -march=pentium

Does it make a lot of difference compiling using -march=pentium as
opposed to -march=pentiumpro on a Pentium II?

Any comments appreciated

-- 
Barry Shilliday


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