From 9224a67a27a5adb4524a5d9b730045205ec04e9a 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. Conflicts: gas/config/tc-aarch64.c --- gas/ChangeLog | 6 ++++++ gas/config/tc-aarch64.c | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index ecbac5f..27c3f76 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2014-11-13 Marcus Shawcroft + + Apply trunk patch: + * config/tc-aarch64.c (aarch64_cpus): Add CRC feature for + cortex-A53 and cortex-A57. + 2014-11-12 Alan Modra PR ld/17482 diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 150949c..c0153bc 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -7180,8 +7180,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"}, + {"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.7.4