diff options
author | Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> | 1998-07-10 03:36:24 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@gcc.gnu.org> | 1998-07-10 03:36:24 +0000 |
commit | 03c5634a9d1c7bf019f539770fe4a16304315402 (patch) | |
tree | 575bd293a07c9e0861d9fddff2b687723006fa3c | |
parent | 57618cf47828159e4713ff7091da1114cc507206 (diff) | |
download | gcc-03c5634a9d1c7bf019f539770fe4a16304315402.zip gcc-03c5634a9d1c7bf019f539770fe4a16304315402.tar.gz gcc-03c5634a9d1c7bf019f539770fe4a16304315402.tar.bz2 |
m68k.c (const_uint32_operand): Recognize CONSTANT_P_RTX.
* config/m68k/m68k.c (const_uint32_operand): Recognize
CONSTANT_P_RTX.
(const_sint32_operand): Likewise.
From-SVN: r21049
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/m68k/m68k.c | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cd3b6f7..9f02859 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Fri Jul 10 12:34:37 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * config/m68k/m68k.c (const_uint32_operand): Recognize + CONSTANT_P_RTX. + (const_sint32_operand): Likewise. + Thu Jul 9 22:58:59 1998 Jeffrey A Law (law@cygnus.com) * Makefile.in (alias.o): Depend on $(EXPR_H). diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index e6a3caba..ba889ad 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -3233,6 +3233,8 @@ const_uint32_operand (op, mode) rtx op; enum machine_mode mode; { + if (GET_CODE (op) == CONSTANT_P_RTX) + return 1; #if HOST_BITS_PER_WIDE_INT > 32 /* All allowed constants will fit a CONST_INT. */ return (GET_CODE (op) == CONST_INT @@ -3252,6 +3254,8 @@ const_sint32_operand (op, mode) rtx op; enum machine_mode mode; { + if (GET_CODE (op) == CONSTANT_P_RTX) + return 1; /* All allowed constants will fit a CONST_INT. */ return (GET_CODE (op) == CONST_INT && (INTVAL (op) >= (-0x7fffffff - 1) && INTVAL (op) <= 0x7fffffff)); |