From c769fd6a32da68442dd82855382716c934fd66c4 Mon Sep 17 00:00:00 2001 From: Alex Coplan Date: Mon, 28 Sep 2020 13:55:08 +0100 Subject: [PATCH] aarch64: Neoverse V1 tweaks This simple follow-on patch groups the Neoverse cores together and adds a missing feature bit (F16) to the entry for Neoverse V1. gas/ChangeLog: * config/tc-aarch64.c (aarch64_cpus): Group Neoverse cores together, add missing F16 bit to Neoverse V1. --- gas/ChangeLog | 5 +++++ gas/config/tc-aarch64.c | 17 +++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 70bc6c0695..f3b2e9b538 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2020-09-28 Alex Coplan + + * config/tc-aarch64.c (aarch64_cpus): Group Neoverse cores together, + add missing F16 bit to Neoverse V1. + 2020-09-26 Alan Modra * config/tc-csky.c (parse_type_ctrlreg): Don't mask mach_flag diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index eadddb2eae..56ce5facdb 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -8956,6 +8956,15 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = { | AARCH64_FEATURE_DOTPROD | AARCH64_FEATURE_PROFILE), "Neoverse N1"}, + {"neoverse-v1", AARCH64_FEATURE (AARCH64_ARCH_V8_4, + AARCH64_FEATURE_PROFILE + | AARCH64_FEATURE_CVADP + | AARCH64_FEATURE_SVE + | AARCH64_FEATURE_SSBS + | AARCH64_FEATURE_RNG + | AARCH64_FEATURE_F16 + | AARCH64_FEATURE_BFLOAT16 + | AARCH64_FEATURE_I8MM), "Neoverse V1"}, {"qdf24xx", AARCH64_FEATURE (AARCH64_ARCH_V8, AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO | AARCH64_FEATURE_RDMA), @@ -8977,14 +8986,6 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = { {"xgene2", AARCH64_FEATURE (AARCH64_ARCH_V8, AARCH64_FEATURE_CRC), "APM X-Gene 2"}, {"cortex-r82", AARCH64_ARCH_V8_R, "Cortex-R82"}, - {"neoverse-v1", AARCH64_FEATURE (AARCH64_ARCH_V8_4, - AARCH64_FEATURE_PROFILE - | AARCH64_FEATURE_CVADP - | AARCH64_FEATURE_SVE - | AARCH64_FEATURE_SSBS - | AARCH64_FEATURE_RNG - | AARCH64_FEATURE_BFLOAT16 - | AARCH64_FEATURE_I8MM), "Neoverse V1"}, {"generic", AARCH64_ARCH_V8, NULL}, {NULL, AARCH64_ARCH_NONE, NULL}