diff options
author | Andre Vieira <andre.simoesdiasvieira@arm.com> | 2022-03-22 11:44:06 +0000 |
---|---|---|
committer | Andre Vieira <andre.simoesdiasvieira@arm.com> | 2022-03-22 11:47:01 +0000 |
commit | 0bae246acc758d4b11dd575b05207fd69169109b (patch) | |
tree | e8f15525f9d8181f080174eaba412cb475f4becf /gcc | |
parent | 6ee5892638526366fc3d8a1f4426f3cc278ea061 (diff) | |
download | gcc-0bae246acc758d4b11dd575b05207fd69169109b.zip gcc-0bae246acc758d4b11dd575b05207fd69169109b.tar.gz gcc-0bae246acc758d4b11dd575b05207fd69169109b.tar.bz2 |
aarch64: Enable FP16 feature by default for Armv9
This patch adds the feature bit for FP16 to the feature set for Armv9 since
Armv9 requires SVE to be implemented and SVE requires FP16 to be implemented.
2022-03-22 Andre Vieira <andre.simoesdiasvieira@arm.com>
* config/aarch64/aarch64.h (AARCH64_FL_FOR_ARCH9): Add FP16 feature
bit.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/aarch64/aarch64.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h index 27ba4f4..efa46ac 100644 --- a/gcc/config/aarch64/aarch64.h +++ b/gcc/config/aarch64/aarch64.h @@ -278,7 +278,8 @@ extern unsigned aarch64_architecture_version; #define AARCH64_FL_FOR_ARCH8_R \ (AARCH64_FL_FOR_ARCH8_4 | AARCH64_FL_V8_R) #define AARCH64_FL_FOR_ARCH9 \ - (AARCH64_FL_FOR_ARCH8_5 | AARCH64_FL_SVE | AARCH64_FL_SVE2 | AARCH64_FL_V9) + (AARCH64_FL_FOR_ARCH8_5 | AARCH64_FL_SVE | AARCH64_FL_SVE2 | AARCH64_FL_V9 \ + | AARCH64_FL_F16) /* Macros to test ISA flags. */ |