diff options
author | Matthew Malcomson <matthew.malcomson@arm.com> | 2020-01-13 15:31:39 +0000 |
---|---|---|
committer | Matthew Malcomson <matthew.malcomson@arm.com> | 2020-01-13 15:31:39 +0000 |
commit | 82e9597c9ec1c14a402d47f2d9b544235998be1e (patch) | |
tree | 2949b6e1dd0813a6e9bbf8637c932c806c41cc5a /gas | |
parent | 6a1939f577eb3dce3b7037ee71895b7d489838aa (diff) | |
download | gdb-82e9597c9ec1c14a402d47f2d9b544235998be1e.zip gdb-82e9597c9ec1c14a402d47f2d9b544235998be1e.tar.gz gdb-82e9597c9ec1c14a402d47f2d9b544235998be1e.tar.bz2 |
[gas][aarch64] Turn on SVE when using f32mm or f64mm extensions
There are no instructions under these matrix multiply extensions that
can be used without having SVE enabled.
Since these extensions require SVE, we make that explicit in the options
table.
Tested on aarch64-none-elf without regressions.
gas/ChangeLog:
2020-01-13 Matthew Malcomson <matthew.malcomson@arm.com>
* config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature
dependency.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-aarch64.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 0bf722b..184af58 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2020-01-13 Matthew Malcomson <matthew.malcomson@arm.com> + + * config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature + dependency. + 2020-01-13 Claudiu Zissulescu <claziss@gmail.com> * config/tc-arc.c (arc_select_cpu): Re-init the bfd if we change diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 8fa8657..4f9c603 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -9063,9 +9063,9 @@ static const struct aarch64_option_cpu_value_table aarch64_features[] = { {"i8mm", AARCH64_FEATURE (AARCH64_FEATURE_I8MM, 0), AARCH64_ARCH_NONE}, {"f32mm", AARCH64_FEATURE (AARCH64_FEATURE_F32MM, 0), - AARCH64_ARCH_NONE}, + AARCH64_FEATURE (AARCH64_FEATURE_SVE, 0)}, {"f64mm", AARCH64_FEATURE (AARCH64_FEATURE_F64MM, 0), - AARCH64_ARCH_NONE}, + AARCH64_FEATURE (AARCH64_FEATURE_SVE, 0)}, {NULL, AARCH64_ARCH_NONE, AARCH64_ARCH_NONE}, }; |