https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84845

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
First of all, I'd say it is very weird not to include the actual operation name
in the instruction name, that is the most important part.

So something like:
--- gcc/config/aarch64/aarch64.md.jj    2018-03-13 00:38:26.000000000 +0100
+++ gcc/config/aarch64/aarch64.md       2018-03-13 18:08:23.513894885 +0100
@@ -4262,7 +4262,7 @@
   [(set_attr "type" "shift_reg")]
 )

-(define_insn_and_split "*aarch64_reg_<mode>3_neg_mask2"
+(define_insn_and_split "*aarch64_<optab>_reg_<mode>3_neg_mask2"
   [(set (match_operand:GPI 0 "register_operand" "=&r")
        (SHIFT:GPI
          (match_operand:GPI 1 "register_operand" "r")
@@ -4286,7 +4286,7 @@
   }
 )

-(define_insn_and_split "*aarch64_reg_<mode>3_minus_mask"
+(define_insn_and_split "*aarch64_ashl_reg_<mode>3_minus_mask"
   [(set (match_operand:GPI 0 "register_operand" "=&r")
        (ashift:GPI
          (match_operand:GPI 1 "register_operand" "r")
@@ -4333,7 +4333,7 @@
   [(set_attr "type" "shift_reg")]
 )

-(define_insn_and_split "*aarch64_reg_<optab>_minus<mode>3"
+(define_insn_and_split "*aarch64_<optab>_reg_minus<mode>3"
   [(set (match_operand:GPI 0 "register_operand" "=&r")
        (ASHIFT:GPI
          (match_operand:GPI 1 "register_operand" "r")

Reply via email to