aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.7/gcc/config/mips/mips.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.7/gcc/config/mips/mips.h')
-rw-r--r--gcc-4.7/gcc/config/mips/mips.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.7/gcc/config/mips/mips.h b/gcc-4.7/gcc/config/mips/mips.h
index 61bbd949c..5146cc5de 100644
--- a/gcc-4.7/gcc/config/mips/mips.h
+++ b/gcc-4.7/gcc/config/mips/mips.h
@@ -847,7 +847,7 @@ struct mips_cpu_info {
#define ISA_HAS_CONDMOVE (ISA_HAS_FP_CONDMOVE || TARGET_LOONGSON_2EF)
/* ISA has LDC1 and SDC1. */
-#define ISA_HAS_LDC1_SDC1 (!ISA_MIPS1 && !TARGET_MIPS16)
+#define ISA_HAS_LDC1_SDC1 (!ISA_MIPS1 && !TARGET_MIPS16 && TARGET_LDC1_SDC1)
/* ISA has the mips4 FP condition code instructions: FP-compare to CC,
branch on CC, and move (both FP and non-FP) on CC. */