(MIPS R5900) Adding support for the FPU (COP1) instructions
Woon yung Liu
ysai187@yahoo.com
Fri Apr 1 13:44:00 GMT 2016
Hi again,
I realized that I probably set the entry for the FPU COP1 Accumulator within FIXED_REGISTERS wrong (set to 1 instead of 0), hence why the new instructions were not getting selected. Anyway, I changed it to zero, and now I am getting a new problem while compiling GCC:
../../../libgcc/libgcc2.c: In function '__powisf2':
../../../libgcc/libgcc2.c:1851:1: internal compiler error: Max. number of generated reload insns per insn is achieved (90)
}
^
0x7f3ed5 lra_constraints(bool)
../../gcc/lra-constraints.c:4370
0x7e460a lra(_IO_FILE*)
../../gcc/lra.c:2344
0x7a6ea9 do_reload
../../gcc/ira.c:5421
0x7a6ea9 execute
../../gcc/ira.c:5592
I guess that it's due to GCC finding no way to move values to/from the $ACC register, although I didn't actually manage to find a specific answer to this error. What should be my next step?
Thanks and regards,
-W Y
More information about the Gcc
mailing list