[gcc r10-6047] [AArch64] [Obvious] Correct pattern target requirement
Matthew Malcomson
matmal01@gcc.gnu.org
Fri Jan 17 15:23:00 GMT 2020
https://gcc.gnu.org/g:568f0f355f259f58688dd73f749f4d80adc10e40
commit r10-6047-g568f0f355f259f58688dd73f749f4d80adc10e40
Author: Matthew Malcomson <matthew.malcomson@arm.com>
Date: Fri Jan 17 15:08:21 2020 +0000
[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.
Diff:
---
gcc/ChangeLog | 5 +++++
gcc/config/aarch64/aarch64-sve.md | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
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";
More information about the Gcc-cvs
mailing list