From 02c1355124de323e32b8b47fa0b19c114549756a Mon Sep 17 00:00:00 2001 From: Marcus Shawcroft Date: Fri, 14 Nov 2014 12:52:17 +0000 Subject: [PATCH] [AArch64] Enable CRC feature in GAS for cortex-a53 and cortex-a57. --- gas/ChangeLog | 5 +++++ gas/config/tc-aarch64.c | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index e6744766b8f..85a03aac5bb 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2014-11-13 Marcus Shawcroft + + * config/tc-aarch64.c (aarch64_cpus): Add CRC feature for + cortex-A53 and cortex-A57. + 2014-11-13 H.J. Lu PR gas/17598 diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index ab6e2b692fb..4f3fe4749ea 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -7182,9 +7182,11 @@ struct aarch64_cpu_option_table recognized by GCC. */ static const struct aarch64_cpu_option_table aarch64_cpus[] = { {"all", AARCH64_ANY, NULL}, - {"cortex-a53", AARCH64_ARCH_V8, "Cortex-A53"}, - {"cortex-a57", AARCH64_ARCH_V8, "Cortex-A57"}, - {"thunderx", AARCH64_ARCH_V8, "Cavium ThunderX"}, + {"cortex-a53", AARCH64_FEATURE(AARCH64_ARCH_V8, + AARCH64_FEATURE_CRC), "Cortex-A53"}, + {"cortex-a57", AARCH64_FEATURE(AARCH64_ARCH_V8, + AARCH64_FEATURE_CRC), "Cortex-A57"}, + {"thunderx", AARCH64_ARCH_V8, "Cavium ThunderX"}, {"xgene-1", AARCH64_ARCH_V8, "APM X-Gene 1"}, {"generic", AARCH64_ARCH_V8, NULL}, -- 2.30.2