m68k.c (const_uint32_operand): Accept any const_int on a 32-bit host.

* config/m68k/m68k.c (const_uint32_operand): Accept any
        const_int on a 32-bit host.

From-SVN: r40276
This commit is contained in:
Stephen L Moshier 2001-03-07 01:22:40 +00:00 committed by Richard Henderson
parent 805c6c57da
commit 07ed7ecf08
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2001-03-06 Stephen L Moshier <moshier@mediaone.net>
* config/m68k/m68k.c (const_uint32_operand): Accept any
const_int on a 32-bit host.
2001-03-06 Nicola Pero <n.pero@mi.flashnet.it>
* objc/objc-act.c (init_objc): Set save_lang_status,

View file

@ -3334,7 +3334,7 @@ const_uint32_operand (op, mode)
return (GET_CODE (op) == CONST_INT
&& (INTVAL (op) >= 0 && INTVAL (op) <= 0xffffffffL));
#else
return ((GET_CODE (op) == CONST_INT && INTVAL (op) >= 0)
return (GET_CODE (op) == CONST_INT
|| (GET_CODE (op) == CONST_DOUBLE && CONST_DOUBLE_HIGH (op) == 0));
#endif
}