* sparc.c (arith_4096_operand): Fix error in last change.

From-SVN: r50468
This commit is contained in:
Kaveh R. Ghazi 2002-03-09 01:31:03 +00:00 committed by Kaveh Ghazi
parent e25d11b07c
commit 3070dd00e9
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* sparc.c (arith_4096_operand): Fix error in last change.
2002-03-08 Alexandre Oliva <aoliva@redhat.com>
* config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate

View File

@ -964,10 +964,10 @@ arith_4096_operand (op, mode)
rtx op;
enum machine_mode mode ATTRIBUTE_UNUSED;
{
int val;
if (GET_CODE (op) != CONST_INT)
return 0;
return val == 4096;
else
return INTVAL (op) == 4096;
}
/* Return true if OP is suitable as second operand for add/sub */