diff options
author | Andrea Corallo <andrea.corallo@arm.com> | 2023-09-06 15:52:45 +0100 |
---|---|---|
committer | Andrea Corallo <andrea.corallo@arm.com> | 2023-12-19 15:35:49 +0100 |
commit | 88b5a8ae138f3ace20f63635dbaea437fb17ae78 (patch) | |
tree | 3b5021342210dbe1c5e028560ca6960977a02e5c /gas/config | |
parent | 25bb95ea6ddc3cef73da3823efe4acfce4e56d2c (diff) | |
download | gdb-88b5a8ae138f3ace20f63635dbaea437fb17ae78.zip gdb-88b5a8ae138f3ace20f63635dbaea437fb17ae78.tar.gz gdb-88b5a8ae138f3ace20f63635dbaea437fb17ae78.tar.bz2 |
aarch64: Add FEAT_SPECRES2 support
This patch add supports for FEAT_SPECRES2 "Enhanced speculation
restriction instructions" adding the "cosp" instruction.
This is mandatory v8.9-a/v9.4-a and optional v8.0-a+/v9.0-a+. It is
enabled by the +predres2 march flag.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-aarch64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 8654049..6672470 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -10259,6 +10259,7 @@ static const struct aarch64_option_cpu_value_table aarch64_features[] = { {"sha2", AARCH64_FEATURE (SHA2), AARCH64_FEATURE (FP)}, {"sb", AARCH64_FEATURE (SB), AARCH64_NO_FEATURES}, {"predres", AARCH64_FEATURE (PREDRES), AARCH64_NO_FEATURES}, + {"predres2", AARCH64_FEATURE (PREDRES2), AARCH64_FEATURE (PREDRES)}, {"aes", AARCH64_FEATURE (AES), AARCH64_FEATURE (SIMD)}, {"sm4", AARCH64_FEATURE (SM4), AARCH64_FEATURE (SIMD)}, {"sha3", AARCH64_FEATURE (SHA3), AARCH64_FEATURE (SHA2)}, |