aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2023-03-10 11:08:23 +0100
committerJan Beulich <jbeulich@suse.com>2023-03-10 11:08:23 +0100
commit36ba37c085438d23de2289ea17b56e7b91d1c5c5 (patch)
treea5d9a150972a72304249ad7672157c4551798947 /gas
parent96a3eed7be53f05809858288c60bb172c31f4361 (diff)
downloadgdb-36ba37c085438d23de2289ea17b56e7b91d1c5c5.zip
gdb-36ba37c085438d23de2289ea17b56e7b91d1c5c5.tar.gz
gdb-36ba37c085438d23de2289ea17b56e7b91d1c5c5.tar.bz2
Arm64/gas: drop redundant feature prereqs
Logic exists to deal with prereqs or prereqs, and in many cases transitive prereqs are already not spelled out explicitly. Drop further ones: - FP is already a prereq to F16, - SIMD and F16 are already prereqs to COMPNUM, and - SVE2 and BFLOAT16 are already prereqs to SME.
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-aarch64.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 0b84f50..c1736c2 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -10108,14 +10108,11 @@ static const struct aarch64_option_cpu_value_table aarch64_features[] = {
{"fp16", AARCH64_FEATURE (AARCH64_FEATURE_F16, 0),
AARCH64_FEATURE (AARCH64_FEATURE_FP, 0)},
{"fp16fml", AARCH64_FEATURE (AARCH64_FEATURE_F16_FML, 0),
- AARCH64_FEATURE (AARCH64_FEATURE_FP
- | AARCH64_FEATURE_F16, 0)},
+ AARCH64_FEATURE (AARCH64_FEATURE_F16, 0)},
{"profile", AARCH64_FEATURE (AARCH64_FEATURE_PROFILE, 0),
AARCH64_ARCH_NONE},
{"sve", AARCH64_FEATURE (AARCH64_FEATURE_SVE, 0),
- AARCH64_FEATURE (AARCH64_FEATURE_F16
- | AARCH64_FEATURE_SIMD
- | AARCH64_FEATURE_COMPNUM, 0)},
+ AARCH64_FEATURE (AARCH64_FEATURE_COMPNUM, 0)},
{"tme", AARCH64_FEATURE (AARCH64_FEATURE_TME, 0),
AARCH64_ARCH_NONE},
{"compnum", AARCH64_FEATURE (AARCH64_FEATURE_COMPNUM, 0),
@@ -10160,13 +10157,9 @@ static const struct aarch64_option_cpu_value_table aarch64_features[] = {
AARCH64_FEATURE (AARCH64_FEATURE_SVE2
| AARCH64_FEATURE_BFLOAT16, 0)},
{"sme-f64", AARCH64_FEATURE (AARCH64_FEATURE_SME_F64, 0),
- AARCH64_FEATURE (AARCH64_FEATURE_SME
- | AARCH64_FEATURE_SVE2
- | AARCH64_FEATURE_BFLOAT16, 0)},
+ AARCH64_FEATURE (AARCH64_FEATURE_SME, 0)},
{"sme-i64", AARCH64_FEATURE (AARCH64_FEATURE_SME_I64, 0),
- AARCH64_FEATURE (AARCH64_FEATURE_SME
- | AARCH64_FEATURE_SVE2
- | AARCH64_FEATURE_BFLOAT16, 0)},
+ AARCH64_FEATURE (AARCH64_FEATURE_SME, 0)},
{"bf16", AARCH64_FEATURE (AARCH64_FEATURE_BFLOAT16, 0),
AARCH64_FEATURE (AARCH64_FEATURE_FP, 0)},
{"i8mm", AARCH64_FEATURE (AARCH64_FEATURE_I8MM, 0),