From 0042ca7b770aadd6ccf8f53109fdf955f44c18c3 Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Thu, 21 Oct 2021 12:30:21 +0100 Subject: [PATCH] arm: Disambiguate multiple crypto patterns with the same name. No functional change, but arm/crypto.md has multiple pattenrs all called crypto_, which makes references to them ambiguous, so add the iterator base to the pattern name so that it is distinct in the commit logs. gcc/ChangeLog: * config/arm/crypto.md (crypto_): Add iterator to pattern name to disambiguate. (crypto_): Likewise. (crypto_): Likewise. (crypto_): Likewise. (crypto_): Likewise. (crypto__lb): Likewise. --- gcc/config/arm/crypto.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/config/arm/crypto.md b/gcc/config/arm/crypto.md index 2425641..6071ea1 100644 --- a/gcc/config/arm/crypto.md +++ b/gcc/config/arm/crypto.md @@ -19,7 +19,7 @@ ;; . -(define_insn "crypto_" +(define_insn "crypto_" [(set (match_operand: 0 "register_operand" "=w") (unspec: [(match_operand: 1 "register_operand" "w")] @@ -29,7 +29,7 @@ [(set_attr "type" "")] ) -(define_insn "crypto_" +(define_insn "crypto_" [(set (match_operand:V16QI 0 "register_operand" "=w") (unspec:V16QI [(xor:V16QI @@ -83,7 +83,7 @@ (set_attr "length" "8")] ) -(define_insn "crypto_" +(define_insn "crypto_" [(set (match_operand: 0 "register_operand" "=w") (unspec: [(match_operand: 1 "register_operand" "0") @@ -94,7 +94,7 @@ [(set_attr "type" "")] ) -(define_insn "crypto_" +(define_insn "crypto_" [(set (match_operand: 0 "register_operand" "=w") (unspec: [(match_operand: 1 "register_operand" "0") (match_operand: 2 "register_operand" "w") @@ -145,7 +145,7 @@ of the V4SI, adjusted for endianness. Required due to neon_vget_lane and neon_set_lane that change the element ordering in memory for big-endian. */ -(define_expand "crypto_" +(define_expand "crypto_" [(set (match_operand:V4SI 0 "register_operand") (unspec: [(match_operand: 1 "register_operand") @@ -160,7 +160,7 @@ DONE; }) -(define_insn "crypto__lb" +(define_insn "crypto__lb" [(set (match_operand:V4SI 0 "register_operand" "=w") (unspec: [(match_operand: 1 "register_operand" "0") -- 2.7.4