| 1 |
(define_insn "*add<mode>3_compareV_cconly_imm" |
| 2 |
[(set (reg:CC_V CC_REGNUM) |
| 3 |
(compare:CC_V |
| 4 |
(plus:<DWI> |
| 5 |
(sign_extend:<DWI> (match_operand:GPI 0 "register_operand")) |
| 6 |
(match_operand:<DWI> 1 "const_scalar_int_operand")) |
| 7 |
(sign_extend:<DWI> |
| 8 |
(plus:GPI |
| 9 |
(match_dup 0) |
| 10 |
(match_operand:GPI 2 "aarch64_plus_immediate")))))] |
| 11 |
"INTVAL (operands[1]) == INTVAL (operands[2])" |
| 12 |
{@ [ cons: 0 , 2 ] |
| 13 |
[ r , I ] cmn\t%<w>0, %<w>1 |
| 14 |
[ r , J ] cmp\t%<w>0, #%n1 |
| 15 |
} |
| 16 |
[(set_attr "type" "alus_imm")] |
| 17 |
) |