From 1c5c938ad860811644774ecea66e044110967cf2 Mon Sep 17 00:00:00 2001 From: Tamar Christina Date: Fri, 1 Sep 2017 11:43:51 +0100 Subject: [PATCH] Enable support for the AArch64 dot-prod instruction in the Cortex A55 and A75 cpus. * config/tc-aarch64.c (aarch64_cpus): Enable DOTPROD for cortex-a55 and cortx-a75. --- gas/ChangeLog | 5 +++++ gas/config/tc-aarch64.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index b498d2ed89c..318472df5f4 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2017-09-01 Tamar Christina + + * config/tc-aarch64.c (aarch64_cpus): Enable DOTPROD for + cortex-a55 and cortx-a75. + 2017-08-30 Maciej W. Rozycki * testsuite/gas/mips/branch-addend-micromips.d: New test. diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 0cefa16deba..64d54fd78e1 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -8404,10 +8404,10 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = { {"cortex-a73", AARCH64_FEATURE (AARCH64_ARCH_V8, AARCH64_FEATURE_CRC), "Cortex-A73"}, {"cortex-a55", AARCH64_FEATURE (AARCH64_ARCH_V8_2, - AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16), + AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16 | AARCH64_FEATURE_DOTPROD), "Cortex-A55"}, {"cortex-a75", AARCH64_FEATURE (AARCH64_ARCH_V8_2, - AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16), + AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16 | AARCH64_FEATURE_DOTPROD), "Cortex-A75"}, {"exynos-m1", AARCH64_FEATURE (AARCH64_ARCH_V8, AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO), -- 2.30.2