diff options
Diffstat (limited to 'gcc-4.4.3/gcc/config')
-rw-r--r-- | gcc-4.4.3/gcc/config/mips/mips.h | 2 | ||||
-rw-r--r-- | gcc-4.4.3/gcc/config/mips/mips.opt | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc-4.4.3/gcc/config/mips/mips.h b/gcc-4.4.3/gcc/config/mips/mips.h index 88f5d832e..2d6d313f1 100644 --- a/gcc-4.4.3/gcc/config/mips/mips.h +++ b/gcc-4.4.3/gcc/config/mips/mips.h @@ -821,7 +821,7 @@ enum mips_code_readable_setting { #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. */ diff --git a/gcc-4.4.3/gcc/config/mips/mips.opt b/gcc-4.4.3/gcc/config/mips/mips.opt index 901675427..5808ae41d 100644 --- a/gcc-4.4.3/gcc/config/mips/mips.opt +++ b/gcc-4.4.3/gcc/config/mips/mips.opt @@ -188,6 +188,10 @@ mips3d Target Report RejectNegative Mask(MIPS3D) Use MIPS-3D instructions +mldc1-sdc1 +Target Report Var(TARGET_LDC1_SDC1) Init(1) +Use ldc1 and sdc1 instruction + mllsc Target Report Mask(LLSC) Use ll, sc and sync instructions |