Commit 2a88ebca by Richard Sandiford Committed by Richard Sandiford

* config/frv/frv.c (acc_operand, accg_operand): Use REGNO.

From-SVN: r87239
parent 34132917
2004-09-09 Richard Sandiford <rsandifo@redhat.com>
* config/frv/frv.c (acc_operand, accg_operand): Use REGNO.
2004-09-09 Jan Hubicka <jh@suse.cz>
middle-end/17128
......
......@@ -5296,7 +5296,7 @@ acc_operand (rtx op, enum machine_mode mode)
{
return ((mode == VOIDmode || mode == GET_MODE (op))
&& REG_P (op) && ACC_P (REGNO (op))
&& ((INTVAL (op) - ACC_FIRST) & ~ACC_MASK) == 0);
&& ((REGNO (op) - ACC_FIRST) & ~ACC_MASK) == 0);
}
/* Return 1 if operand is a valid even ACC register number. */
......@@ -5322,7 +5322,7 @@ accg_operand (rtx op, enum machine_mode mode)
{
return ((mode == VOIDmode || mode == GET_MODE (op))
&& REG_P (op) && ACCG_P (REGNO (op))
&& ((INTVAL (op) - ACCG_FIRST) & ~ACC_MASK) == 0);
&& ((REGNO (op) - ACCG_FIRST) & ~ACC_MASK) == 0);
}
......
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