diff options
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2014-11-14 12:52:17 +0000 |
---|---|---|
committer | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2014-11-14 13:10:41 +0000 |
commit | f460784869eb8134c6e9cf09261df45f2107b063 (patch) | |
tree | 80d4050373d0169290f29a9eae954ae7c974bf25 | |
parent | cde98f8566e14f52b896abc92c357cdd14717505 (diff) |
[AArch64] Enable CRC feature in GAS for cortex-a53 and cortex-a57.
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-aarch64.c | 8 |
2 files changed, 12 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index fa74e3d9de..9a4b77a03d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2014-11-13 Marcus Shawcroft <marcus.shawcroft@arm.com> + + Apply trunk patch: + * config/tc-aarch64.c (aarch64_cpus): Add CRC feature for + cortex-A53 and cortex-A57. + 2014-07-17 Ilya Tocar <ilya.tocar@intel.com> Backport mainline patches diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 7a69d0026c..110b29ec5a 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -7135,8 +7135,12 @@ 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}, /* These two are example CPUs supported in GCC, once we have real |