aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/config/mips/mips.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.4.3/gcc/config/mips/mips.h')
-rw-r--r--gcc-4.4.3/gcc/config/mips/mips.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc-4.4.3/gcc/config/mips/mips.h b/gcc-4.4.3/gcc/config/mips/mips.h
index bf25448fa..88f5d832e 100644
--- a/gcc-4.4.3/gcc/config/mips/mips.h
+++ b/gcc-4.4.3/gcc/config/mips/mips.h
@@ -835,7 +835,7 @@ enum mips_code_readable_setting {
FP madd and msub instructions, and the FP recip and recip sqrt
instructions. */
#define ISA_HAS_FP4 ((ISA_MIPS4 \
- || (ISA_MIPS32R2 && TARGET_FLOAT64) \
+ || ISA_MIPS32R2 \
|| ISA_MIPS64 \
|| ISA_MIPS64R2) \
&& !TARGET_MIPS16)
@@ -866,10 +866,7 @@ enum mips_code_readable_setting {
/* ISA has floating-point nmadd and nmsub instructions
'd = -((a * b) [+-] c)'. */
#define ISA_HAS_NMADD4_NMSUB4(MODE) \
- ((ISA_MIPS4 \
- || (ISA_MIPS32R2 && (MODE) == V2SFmode) \
- || ISA_MIPS64 \
- || ISA_MIPS64R2) \
+ (ISA_HAS_FP4 \
&& (!TARGET_MIPS5400 || TARGET_MAD) \
&& !TARGET_MIPS16)