From 5ecffcbbd49639b83e574a0411f8a3088093f4aa Mon Sep 17 00:00:00 2001 From: Marcus Shawcroft Date: Tue, 18 Nov 2014 14:00:56 +0000 Subject: [PATCH] [AArch64] Enable CRC feature in GAS for cortex-a53 and cortex-a57. --- gas/ChangeLog | 6 ++++++ gas/config/tc-aarch64.c | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 58ff08261d4..bc39ebc8044 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2014-11-18 Marcus Shawcroft + + Apply trunk patch: + * config/tc-aarch64.c (aarch64_cpus): Add CRC feature for + cortex-A53 and cortex-A57. + 2014-11-17 Nick Clifton Apply trunk patches: diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 150949cc685..14610574474 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -7180,8 +7180,10 @@ 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"}, {"xgene-1", AARCH64_ARCH_V8, "APM X-Gene 1"}, {"generic", AARCH64_ARCH_V8, NULL}, -- 2.47.2