[AArch64] Add a commutativity marker to the SVE [SU]ABD patterns
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 15 Aug 2019 08:25:47 +0000 (08:25 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 15 Aug 2019 08:25:47 +0000 (08:25 +0000)
This will be tested by the ACLE patches, but it's really an
independent improvement.

2019-08-15  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* config/aarch64/aarch64-sve.md (aarch64_<su>abd<mode>_3): Add
a commutativity marker.

From-SVN: r274510

gcc/ChangeLog
gcc/config/aarch64/aarch64-sve.md

index 66631f6b37c141608362e9ab52122f524aa8aec7..d0eb97391081e3182c300e804b829a807af71330 100644 (file)
@@ -1,3 +1,8 @@
+2019-08-15  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * config/aarch64/aarch64-sve.md (aarch64_<su>abd<mode>_3): Add
+       a commutativity marker.
+
 2019-08-15  Richard Sandiford  <richard.sandiford@arm.com>
            Kugan Vivekanandarajah  <kugan.vivekanandarajah@linaro.org>
 
index 93f55360d69652e1ca434682e92440c014ce84fe..cf9073167f4303bcb58ed6ff361d9fa0d493b35a 100644 (file)
          [(match_operand:<VPRED> 1 "register_operand" "Upl, Upl")
           (minus:SVE_I
             (USMAX:SVE_I
-              (match_operand:SVE_I 2 "register_operand" "0, w")
+              (match_operand:SVE_I 2 "register_operand" "%0, w")
               (match_operand:SVE_I 3 "register_operand" "w, w"))
             (<max_opp>:SVE_I
               (match_dup 2)