This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
On i486 why is -march=pentium default?
- To: egcs-bugs at cygnus dot com
- Subject: On i486 why is -march=pentium default?
- From: Andreas Jaeger <aj at arthur dot rhein-neckar dot de>
- Date: Fri, 24 Jul 1998 10:14:06 +0200 (CEST)
According to -fsave-temps -O1 has:
# options enabled: -fdefer-pop -fthread-jumps -fpeephole -ffunction-cse
# -finline -fkeep-static-consts -fpcc-struct-return -fcommon -fverbose-asm
# -fgnu-linker -fargument-alias -m80387 -mhard-float -mno-soft-float
# -mieee-fp -mfp-ret-in-387 -mschedule-prologue -mcpu=i486 -march=pentium
Why is there -march=pentium?
The specs file has:
*cpp_cpu_default:
%(cpp_486)
And gcc -v outputs:
Reading specs from /opt/egcs/lib/gcc-lib/i486-pc-linux-gnu/egcs-2.91.51/specs
gcc version egcs-2.91.51 19980714 (gcc2 ss-980609 experimental)
I would have expected -march=i486.
Andreas
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@alma.student.uni-kl.de