The R5900 doesn't have proper IEEE754 handling: for all its FP
instructions, like "c.eq.s" or "add.s".
Since most of the other instructions are also broken,
so we can just define this, and the users should know about
what they are doing.
gcc/ChangeLog:
* config/mips/mips.h (ISA_HAS_FMIN_FMAX): Add R5900;
note that, R5900 is not IEEE754 fully compatiable.
Signed-off-by: David Guillen Fandos <david@davidgf.net>
#define ISA_HAS_9BIT_DISPLACEMENT (mips_isa_rev >= 6 \
|| ISA_HAS_MIPS16E2)
-#define ISA_HAS_FMIN_FMAX (mips_isa_rev >= 6)
+#define ISA_HAS_FMIN_FMAX (mips_isa_rev >= 6 \
+ || TARGET_MIPS5900)
#define ISA_HAS_FRINT (mips_isa_rev >= 6)