diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-07 15:06:16 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-05-07 15:06:16 +0000 |
commit | 0e45acd879d86f9a55104a3acdfa4eabb1e4876c (patch) | |
tree | 7f21edb4fe5a018666bec243c12a721b9c75254f /gcc/config/mips | |
parent | 5af0aa8654527322b53a88efd3d6d75a8571ea5d (diff) | |
download | gcc-0e45acd879d86f9a55104a3acdfa4eabb1e4876c.tar.gz |
* config/mips/mips.h (ISA_HAS_BRANCHLIKELY): Remove TARGET_MIPS5500.
* config/mips/mips.c (override_options): Disable branch likely
instructions if TUNE_MIPS5500.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81624 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips')
-rw-r--r-- | gcc/config/mips/mips.c | 2 | ||||
-rw-r--r-- | gcc/config/mips/mips.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index beb7250f6a6..09d826a94d7 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -4744,7 +4744,7 @@ override_options (void) -mbranch-likely. */ if (ISA_HAS_BRANCHLIKELY && !(ISA_MIPS32 || ISA_MIPS32R2 || ISA_MIPS64) - && !(TUNE_SB1)) + && !(TUNE_MIPS5500 || TUNE_SB1)) target_flags |= MASK_BRANCHLIKELY; else target_flags &= ~MASK_BRANCHLIKELY; diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index e23abf1658d..cdde774673b 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -858,8 +858,7 @@ extern const struct mips_cpu_info *mips_tune_info; /* ISA has branch likely instructions (eg. mips2). */ /* Disable branchlikely for tx39 until compare rewrite. They haven't been generated up to this point. */ -#define ISA_HAS_BRANCHLIKELY (!ISA_MIPS1 \ - && !TARGET_MIPS5500) +#define ISA_HAS_BRANCHLIKELY (!ISA_MIPS1) /* ISA has the conditional move instructions introduced in mips4. */ #define ISA_HAS_CONDMOVE ((ISA_MIPS4 \ |