[AArch64] Enable CRC feature in GAS for cortex-a53 and cortex-a57.

This commit is contained in:
Marcus Shawcroft 2014-11-14 12:52:17 +00:00
parent 041830e03c
commit 02c1355124
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2014-11-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
* config/tc-aarch64.c (aarch64_cpus): Add CRC feature for
cortex-A53 and cortex-A57.
2014-11-13 H.J. Lu <hongjiu.lu@intel.com> 2014-11-13 H.J. Lu <hongjiu.lu@intel.com>
PR gas/17598 PR gas/17598

View File

@ -7182,9 +7182,11 @@ struct aarch64_cpu_option_table
recognized by GCC. */ recognized by GCC. */
static const struct aarch64_cpu_option_table aarch64_cpus[] = { static const struct aarch64_cpu_option_table aarch64_cpus[] = {
{"all", AARCH64_ANY, NULL}, {"all", AARCH64_ANY, NULL},
{"cortex-a53", AARCH64_ARCH_V8, "Cortex-A53"}, {"cortex-a53", AARCH64_FEATURE(AARCH64_ARCH_V8,
{"cortex-a57", AARCH64_ARCH_V8, "Cortex-A57"}, AARCH64_FEATURE_CRC), "Cortex-A53"},
{"thunderx", AARCH64_ARCH_V8, "Cavium ThunderX"}, {"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"}, {"xgene-1", AARCH64_ARCH_V8, "APM X-Gene 1"},
{"generic", AARCH64_ARCH_V8, NULL}, {"generic", AARCH64_ARCH_V8, NULL},