From: Jan Beulich Date: Fri, 10 Mar 2023 10:08:03 +0000 (+0100) Subject: Arm64/gas: add missing prereq features X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96a3eed7be53f05809858288c60bb172c31f4361;p=binutils-gdb.git Arm64/gas: add missing prereq features A number of newer features are really SIMD or FP extensions, but don't have this properly specified. --- diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 980710e8992..0b84f500e15 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -10124,17 +10124,17 @@ static const struct aarch64_option_cpu_value_table aarch64_features[] = { {"rcpc", AARCH64_FEATURE (AARCH64_FEATURE_RCPC, 0), AARCH64_ARCH_NONE}, {"dotprod", AARCH64_FEATURE (AARCH64_FEATURE_DOTPROD, 0), - AARCH64_ARCH_NONE}, + AARCH64_FEATURE (AARCH64_FEATURE_SIMD, 0)}, {"sha2", AARCH64_FEATURE (AARCH64_FEATURE_SHA2, 0), - AARCH64_ARCH_NONE}, + AARCH64_FEATURE (AARCH64_FEATURE_FP, 0)}, {"sb", AARCH64_FEATURE (AARCH64_FEATURE_SB, 0), AARCH64_ARCH_NONE}, {"predres", AARCH64_FEATURE (AARCH64_FEATURE_PREDRES, 0), AARCH64_ARCH_NONE}, {"aes", AARCH64_FEATURE (AARCH64_FEATURE_AES, 0), - AARCH64_ARCH_NONE}, + AARCH64_FEATURE (AARCH64_FEATURE_SIMD, 0)}, {"sm4", AARCH64_FEATURE (AARCH64_FEATURE_SM4, 0), - AARCH64_ARCH_NONE}, + AARCH64_FEATURE (AARCH64_FEATURE_SIMD, 0)}, {"sha3", AARCH64_FEATURE (AARCH64_FEATURE_SHA3, 0), AARCH64_FEATURE (AARCH64_FEATURE_SHA2, 0)}, {"rng", AARCH64_FEATURE (AARCH64_FEATURE_RNG, 0), @@ -10168,9 +10168,9 @@ static const struct aarch64_option_cpu_value_table aarch64_features[] = { | AARCH64_FEATURE_SVE2 | AARCH64_FEATURE_BFLOAT16, 0)}, {"bf16", AARCH64_FEATURE (AARCH64_FEATURE_BFLOAT16, 0), - AARCH64_ARCH_NONE}, + AARCH64_FEATURE (AARCH64_FEATURE_FP, 0)}, {"i8mm", AARCH64_FEATURE (AARCH64_FEATURE_I8MM, 0), - AARCH64_ARCH_NONE}, + AARCH64_FEATURE (AARCH64_FEATURE_SIMD, 0)}, {"f32mm", AARCH64_FEATURE (AARCH64_FEATURE_F32MM, 0), AARCH64_FEATURE (AARCH64_FEATURE_SVE, 0)}, {"f64mm", AARCH64_FEATURE (AARCH64_FEATURE_F64MM, 0),