http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46378
Summary: Powerpc -mcpu=power5 selects FP found instructions
(should use -mcpu=power5+)
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 22335
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22335
Patch to fix the problem.
In my change on August 23rd, 2010 and September 2nd, 2010, I mistakenly enabled
the floating round instructions (-mfprnd) for -mcpu=power5 (ISA 2.02), while
these instructions weren't added until later (ISA 2.04, or -mcpu=power5+). The
-mcpu=power5 option should not enable the floating point round instructions.