* config/h8300/h8300.md (a peephole2): Accept a constant
that's accepted by CONST_OK_FOR_J.
From-SVN: r60080
+2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.md (a peephole2): Accept a constant
+ that's accepted by CONST_OK_FOR_J.
+
2002-12-12 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.h (CONST_OK_FOR_J): New.
(match_operand:HI 2 "register_operand" "")))]
"REG_P (operands[0]) && REG_P (operands[2])
&& REGNO (operands[0]) != REGNO (operands[2])
- && (CONST_OK_FOR_L (INTVAL (operands[1]))
+ && (CONST_OK_FOR_J (INTVAL (operands[1]))
+ || CONST_OK_FOR_L (INTVAL (operands[1]))
|| CONST_OK_FOR_N (INTVAL (operands[1])))"
[(set (match_dup 0)
(match_dup 2))