Commit 14edc0e4 by Torbjorn Granlund

(cint8_operand): New predicate.

From-SVN: r7591
parent 8abf4d69
......@@ -112,6 +112,17 @@ reg_or_8bit_operand (op, mode)
|| register_operand (op, mode));
}
/* Return 1 if OP is an 8-bit constant. */
int
cint8_operand (op, mode)
register rtx op;
enum machine_mode mode;
{
return (GET_CODE (op) == CONST_INT
&& (unsigned HOST_WIDE_INT) INTVAL (op) < 0x100);
}
/* Return 1 if the operand is a valid second operand to an add insn. */
int
......
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