diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1996-06-08 15:39:27 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1996-06-08 15:39:27 -0700 |
commit | 00b3e0523c5edad4cbef35bdace40f6430072ae3 (patch) | |
tree | b0093263a8be26fe3d42fc2f82e18840078b43e4 | |
parent | 5034b7bd856d65dff1d8701877e64d3b773c835d (diff) | |
download | gcc-00b3e0523c5edad4cbef35bdace40f6430072ae3.zip gcc-00b3e0523c5edad4cbef35bdace40f6430072ae3.tar.gz gcc-00b3e0523c5edad4cbef35bdace40f6430072ae3.tar.bz2 |
(enum processor_type): Likewise.
(MASK_4300_MUL_FIX, TARGET_4300_MUL_FIX): New macros.
(TARGET_SWITCHES): Add -mfix4300 option.
From-SVN: r12249
-rw-r--r-- | gcc/config/mips/mips.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 037836e..043a992 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -66,6 +66,8 @@ enum processor_type { PROCESSOR_R3000, PROCESSOR_R6000, PROCESSOR_R4000, + PROCESSOR_R4100, + PROCESSOR_R4300, PROCESSOR_R4600, PROCESSOR_R4650, PROCESSOR_R8000 @@ -275,7 +277,7 @@ extern char *mktemp (); #define MASK_BIG_ENDIAN 0x00010000 /* Generate big endian code */ #define MASK_SINGLE_FLOAT 0x00020000 /* Only single precision FPU. */ #define MASK_MAD 0x00040000 /* Generate mad/madu as on 4650. */ -#define MASK_UNUSED1 0x00080000 +#define MASK_4300_MUL_FIX 0x00080000 /* Work-around early Vr4300 CPU bug */ /* Dummy switches used only in spec's*/ #define MASK_MIPS_TFILE 0x00000000 /* flag for mips-tfile usage */ @@ -359,6 +361,8 @@ extern char *mktemp (); #define TARGET_MAD (target_flags & MASK_MAD) +#define TARGET_4300_MUL_FIX (target_flags & MASK_4300_MUL_FIX) + /* Macro to define tables used to set the flags. This is a list in braces of pairs in braces, each pair being { "NAME", VALUE } @@ -405,6 +409,8 @@ extern char *mktemp (); {"double-float", -MASK_SINGLE_FLOAT}, \ {"mad", MASK_MAD}, \ {"no-mad", -MASK_MAD}, \ + {"fix4300", MASK_4300_MUL_FIX}, \ + {"no-fix4300", -MASK_4300_MUL_FIX}, \ {"4650", MASK_MAD | MASK_SINGLE_FLOAT}, \ {"debug", MASK_DEBUG}, \ {"debuga", MASK_DEBUG_A}, \ |