diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-02-01 00:54:27 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-02-01 00:54:27 +0000 |
commit | fe2de9d43b63b635d6bd37cad16f7a2cae3195e0 (patch) | |
tree | 17ca5f7d8840522cc05b9890b5a8660ccaa08d41 /gcc/config/mips | |
parent | 4211624c6e0e76c52556064555b396a756dd3f23 (diff) | |
download | gcc-fe2de9d43b63b635d6bd37cad16f7a2cae3195e0.tar.gz |
* mips.md (adddi3_internal_2): Be consistent with adddi3 expander
with handling of -32768.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17564 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips')
-rw-r--r-- | gcc/config/mips/mips.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index f90d75b50fd..86ba669b050 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -778,7 +778,9 @@ (match_operand:DI 2 "small_int" "P,J,N"))) (clobber (match_operand:SI 3 "register_operand" "=d,d,d"))] "!TARGET_64BIT && !TARGET_DEBUG_G_MODE && !TARGET_MIPS16 - && INTVAL (operands[2]) != -32768" + && (TARGET_GAS + || GET_CODE (operands[2]) != CONST_INT + || INTVAL (operands[2]) != -32768)" "@ addu\\t%L0,%L1,%2\;sltu\\t%3,%L0,%2\;addu\\t%M0,%M1,%3 move\\t%L0,%L1\;move\\t%M0,%M1 |