+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
{
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. */
{
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);
}
\f