Commit b85ed4fc by Jeffrey A Law Committed by Jeff Law

pa.md (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros instead of duplicating code.

        * pa.md (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
        instead of duplicating code.

From-SVN: r28904
parent 12207a87
Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
* pa.md (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
instead of duplicating code.
Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
* gcse.c (hash_scan_insn): Don't scan obvious no-ops.
......
......@@ -299,8 +299,9 @@ cint_ok_for_move (intval)
HOST_WIDE_INT intval;
{
/* OK if ldo, ldil, or zdepi, can be used. */
return (VAL_14_BITS_P (intval) || (intval & 0x7ff) == 0
|| zdepi_cint_p (intval));
return (CONST_OK_FOR_LETTER_P (intval, 'J')
|| CONST_OK_FOR_LETTER_P (intval, 'N')
|| CONST_OK_FOR_LETTER_P (intval, 'K'));
}
/* Accept anything that can be moved in one instruction into a general
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment