aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Malcomson <matthew.malcomson@arm.com>2020-01-17 15:08:21 +0000
committerMatthew Malcomson <matthew.malcomson@arm.com>2020-01-17 15:23:37 +0000
commit568f0f355f259f58688dd73f749f4d80adc10e40 (patch)
treea8c7e50f7934c57844d223af8c8e1e3733827c56
parentf1a7789d0f4780b296b66e93f598bf2b2c109f43 (diff)
downloadgcc-568f0f355f259f58688dd73f749f4d80adc10e40.zip
gcc-568f0f355f259f58688dd73f749f4d80adc10e40.tar.gz
gcc-568f0f355f259f58688dd73f749f4d80adc10e40.tar.bz2
[AArch64] [Obvious] Correct pattern target requirement
Had mistakenly used a target macro that was not defined and not the relevant one instead of the macro that should be used. TARGET_ARMV8_6 is not defined, and also not the macro we want to check. Instead check TARGET_F64MM. gcc/ChangeLog: 2020-01-17 Matthew Malcomson <matthew.malcomson@arm.com> * config/aarch64/aarch64-sve.md (@aarch64_sve_ld1ro<mode>): Use the correct target macro.
-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 993986a..1b71f75 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2020-01-17 Matthew Malcomson <matthew.malcomson@arm.com>
+ * config/aarch64/aarch64-sve.md (@aarch64_sve_ld1ro<mode>): Use the
+ correct target macro.
+
+2020-01-17 Matthew Malcomson <matthew.malcomson@arm.com>
+
* config/aarch64/aarch64-protos.h
(aarch64_sve_ld1ro_operand_p): New.
* config/aarch64/aarch64-sve-builtins-base.cc
diff --git a/gcc/config/aarch64/aarch64-sve.md b/gcc/config/aarch64/aarch64-sve.md
index 59b1192..2532902 100644
--- a/gcc/config/aarch64/aarch64-sve.md
+++ b/gcc/config/aarch64/aarch64-sve.md
@@ -2502,7 +2502,7 @@
(match_operand:OI 1 "aarch64_sve_ld1ro_operand_<Vesize>"
"UO<Vesize>")]
UNSPEC_LD1RO))]
- "TARGET_SVE && TARGET_ARMV8_6"
+ "TARGET_SVE && TARGET_F64MM"
{
operands[1] = gen_rtx_MEM (<VEL>mode, XEXP (operands[1], 0));
return "ld1ro<Vesize>\t%0.<Vetype>, %2/z, %1";