diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2001-07-11 09:32:18 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2001-07-11 09:32:18 +0000 |
commit | b5265b32766f94e5170516885439901cbc53f73f (patch) | |
tree | eb1a6ce5a9c9e6bbf180f71cf899421cec6f665a /gcc | |
parent | b87c8c8cf4656f91b7d65cb78d658155721ee39e (diff) | |
download | gcc-b5265b32766f94e5170516885439901cbc53f73f.zip gcc-b5265b32766f94e5170516885439901cbc53f73f.tar.gz gcc-b5265b32766f94e5170516885439901cbc53f73f.tar.bz2 |
mips.c (gen_int_relational): Tell the caller not to reverse a branch if a NE comparison is implemented with GTU.
* config/mips/mips.c (gen_int_relational): Tell the caller not to
reverse a branch if a NE comparison is implemented with GTU.
From-SVN: r43931
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 80d975c..c523864 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,9 @@ 2001-07-11 Richard Sandiford <rsandifo@redhat.com> + + * config/mips/mips.c (gen_int_relational): Tell the caller not to + reverse a branch if a NE comparison is implemented with GTU. + +2001-07-11 Richard Sandiford <rsandifo@redhat.com> H.J. Lu <hjl@gnu.org> * mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index c09a246..4436f7d 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -2979,6 +2979,8 @@ gen_int_relational (test_code, result, cmp0, cmp1, p_invert) if (! TARGET_MIPS16) { convert_move (result, gen_rtx (GTU, mode, reg, const0_rtx), 0); + if (p_invert != NULL) + *p_invert = 0; invert = 0; } else |