contrib/mdcompact/tests/3.md
raw| 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" "r,r")) |
| 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" "I,J")))))] |
| 11 | "INTVAL (operands[1]) == INTVAL (operands[2])" |
| 12 | "@ |
| 13 | cmn\\t%<w>0, %<w>1 |
| 14 | cmp\\t%<w>0, #%n1" |
| 15 | [(set_attr "type" "alus_imm")] |
| 16 | ) |