]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: Remove cmov<mode>6 patterns
authorAndrew Pinski <quic_apinski@quicinc.com>
Mon, 12 May 2025 17:23:01 +0000 (17:23 +0000)
committerAndrew Pinski <quic_apinski@quicinc.com>
Mon, 12 May 2025 22:16:13 +0000 (15:16 -0700)
Since the cmov optab is not used and is being removed,
the `cmov<mode>6` patterns from the aarch64 backend can
also be removed.

gcc/ChangeLog:
* config/aarch64/aarch64.md (cmov<mode>6): Remove.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/config/aarch64/aarch64.md

index 5c30484e0c3ceea662d3a01cbe259437bbc630d9..6dbc9faf7130d940dc28260e25328530ef279214 100644 (file)
   [(set_attr "type" "csel")]
 )
 
-(define_expand "cmov<mode>6"
-  [(set (match_operand:GPI 0 "register_operand")
-       (if_then_else:GPI
-        (match_operator 1 "aarch64_comparison_operator"
-         [(match_operand:GPI 2 "register_operand")
-          (match_operand:GPI 3 "aarch64_plus_operand")])
-        (match_operand:GPI 4 "register_operand")
-        (match_operand:GPI 5 "register_operand")))]
-  ""
-  "
-  operands[2] = aarch64_gen_compare_reg (GET_CODE (operands[1]), operands[2],
-                                     operands[3]);
-  operands[3] = const0_rtx;
-  "
-)
-
-(define_expand "cmov<mode>6"
-  [(set (match_operand:GPF 0 "register_operand")
-       (if_then_else:GPF
-        (match_operator 1 "aarch64_comparison_operator"
-         [(match_operand:GPF 2 "register_operand")
-          (match_operand:GPF 3 "aarch64_fp_compare_operand")])
-        (match_operand:GPF 4 "register_operand")
-        (match_operand:GPF 5 "register_operand")))]
-  ""
-  "
-  operands[2] = aarch64_gen_compare_reg (GET_CODE (operands[1]), operands[2],
-                                     operands[3]);
-  operands[3] = const0_rtx;
-  "
-)
-
 (define_insn "*cmov<mode>_insn"
   [(set (match_operand:ALLI 0 "register_operand")
        (if_then_else:ALLI