[Bug target/78012] New: -mfpxx produces assembly code using odd FP registers on MIPS
aurelien at aurel32 dot net
gcc-bugzilla@gcc.gnu.org
Mon Oct 17 15:05:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78012
Bug ID: 78012
Summary: -mfpxx produces assembly code using odd FP registers
on MIPS
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: aurelien at aurel32 dot net
Target Milestone: ---
Host: mipsel-linux-gnu
Target: mipsel-linux-gnu
Build: mipsel-linux-gnu
Created attachment 39823
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39823&action=edit
Original testcase
The attached testcase (taken from the ergo software [1]) produces assembly code
with odd FP registers when using the FPxx abi.
$ gcc -mfpxx -O2 -c fun-p86c.i
/tmp/ccpv3phk.s: Assembler messages:
/tmp/ccpv3phk.s:1883: Error: float register should be even, was 15
/tmp/ccpv3phk.s:2586: Error: float register should be even, was 15
I have also attached a reduced version of the testcase, that said it also
outputs a lot of warnings about uninitialized variables.
[1] http://ergoscf.org/
More information about the Gcc-bugs
mailing list