aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-08-15 08:25:47 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-08-15 08:25:47 +0000
commit9a8d9b3f2422d4885e5c846dee66acf6336e6ccf (patch)
tree804937d6df0cca3c3bd4c4afab294baadba73e86
parentb6c3aea1892c148c21f8b87668f344b2397f4aa5 (diff)
downloadgcc-9a8d9b3f2422d4885e5c846dee66acf6336e6ccf.zip
gcc-9a8d9b3f2422d4885e5c846dee66acf6336e6ccf.tar.gz
gcc-9a8d9b3f2422d4885e5c846dee66acf6336e6ccf.tar.bz2
[AArch64] Add a commutativity marker to the SVE [SU]ABD patterns
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/aarch64/aarch64-sve.md2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 66631f6..d0eb973 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,4 +1,9 @@
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>
* config/aarch64/aarch64-protos.h (aarch64_prepare_sve_int_fma)
diff --git a/gcc/config/aarch64/aarch64-sve.md b/gcc/config/aarch64/aarch64-sve.md
index 93f5536..cf90731 100644
--- a/gcc/config/aarch64/aarch64-sve.md
+++ b/gcc/config/aarch64/aarch64-sve.md
@@ -2060,7 +2060,7 @@
[(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)