Bug 12304 - -fnew-ra and Pentium 3
Summary: -fnew-ra and Pentium 3
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: rtl-optimization (show other bugs)
Version: 3.3.1
: P2 normal
Target Milestone: 4.0.0
Assignee: Michael Matz
URL:
Keywords:
Depends on:
Blocks: 13246
  Show dependency treegraph
 
Reported: 2003-09-16 19:42 UTC by Peorth
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peorth 2003-09-16 19:42:21 UTC
When running with -march=pentium3 -msse -mmx -fnew-ra, I've found it will produce non-P3 
compatible instructions.
Unfortunately, I don't have direct output of this myself, as it nearly rendered my system inoperable.
This is on any general code, as far as I've been able to tell.
Here are the compiler version readout.
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/specs
Configured with: /var/tmp/portage/gcc-3.3.1-r2/work/gcc-3.3.1/configure --prefix=/usr 
--bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.
1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3 
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man 
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared --host=i686-pc-linux-gnu 
--target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,objc,java 
--enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio 
--enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs 
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/include/g++-v3 
--with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext 
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --enable-interpreter 
--enable-java-awt=xlib --with-x --disable-multilib
Thread model: posix
gcc version 3.3.1 20030815 (Gentoo Linux 3.3.1-r2, propolice)
Comment 1 Andrew Pinski 2003-09-16 19:51:05 UTC
read http://gcc.gnu.org/, also note you are using a modified compiler so the problem might not 
be in the FSF's compiler at all.
Comment 2 Dara Hazeghi 2003-10-24 23:31:45 UTC
Reminder: we need specific testcases for problems like these. Please attach such a testcase to this 
report. Otherwise, we have no way of determining where the problem may be.
Comment 3 Andrew Pinski 2003-12-01 01:04:58 UTC
No feedback in 3 months (T-15 days).