From 568f0f355f259f58688dd73f749f4d80adc10e40 Mon Sep 17 00:00:00 2001 From: Matthew Malcomson Date: Fri, 17 Jan 2020 15:08:21 +0000 Subject: [PATCH] [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 * config/aarch64/aarch64-sve.md (@aarch64_sve_ld1ro): Use the correct target macro. --- 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 993986a1723..1b71f7592c8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-01-17 Matthew Malcomson + + * config/aarch64/aarch64-sve.md (@aarch64_sve_ld1ro): Use the + correct target macro. + 2020-01-17 Matthew Malcomson * config/aarch64/aarch64-protos.h diff --git a/gcc/config/aarch64/aarch64-sve.md b/gcc/config/aarch64/aarch64-sve.md index 59b11926cf2..253290219a9 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_" "UO")] UNSPEC_LD1RO))] - "TARGET_SVE && TARGET_ARMV8_6" + "TARGET_SVE && TARGET_F64MM" { operands[1] = gen_rtx_MEM (mode, XEXP (operands[1], 0)); return "ld1ro\t%0., %2/z, %1"; -- 2.30.2