[Bug target/37179] gcc emits bad opcode 'ffreep'
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun May 10 14:28:00 GMT 2009
------- Comment #7 from ubizjak at gmail dot com 2009-05-10 14:28 -------
(In reply to comment #6)
> > /* X86_TUNE_USE_FFREEP */
> > m_AMD_MULTIPLE,
> Without having dug into the source, I'd guess that this is the exact location
> of the bug.
>
> > #define m_AMD_MULTIPLE (m_K8 | m_ATHLON | m_AMDFAM10)
> If AMDFAM10 is the AMD Geode series of processors and all of them don't
No. You should look for m_GEODE.
> The bug indeed seems only to happen for -march=native (haven't tested anything
> besides native yet), BTW. I.e. if you don't specify an architecture at all,
> ffreep won't get issued.
Can you send the output of "gcc -march=native -v"? It looks that the driver
doesn't detect correctly the type of your CPU.
BTW: -march=geode should work OK.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37179
More information about the Gcc-bugs
mailing list