If you can't compile some code for float computing, you were may hit by GCC
Bug #58158 [1].
Here is a patch works for me:
--- gcc-4.8.2/gcc/config/mips/mips.md 2013-02-25 21:53:16.000000000 +0800
+++ gcc-4.8.2-fixed/gcc/config/mips/mips.md 2013-12-31
20:23:26.021484375 +0800
@@ -6715,6 +6715,9 @@
(match_operand:GPR 3 "reg_or_0_operand")))]
"ISA_HAS_CONDMOVE"
{
+ if (!ISA_HAS_FP_CONDMOVE &&
+ GET_MODE_CLASS (GET_MODE (XEXP (operands[1], 0))) != MODE_INT)
+ FAIL;
mips_expand_conditional_move (operands);
DONE;
})
[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58158
--
You received this message because you are subscribed to the Google Groups
"loongson-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/loongson-dev.
For more options, visit https://groups.google.com/groups/opt_out.