diff options
author | Tamar Christina <tamar.christina@arm.com> | 2022-05-18 10:37:10 +0100 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2022-05-19 09:56:22 +0100 |
commit | ffc7aa903b9789440b380ff1a9f2a93880477252 (patch) | |
tree | 0ff6338f6c0829bea90071a00902f3b77d544ea3 | |
parent | f20245c35f2e611c33bde9531e6328ccea1e1956 (diff) |
AArch64: Enable FP16 by default for Armv9-A.
In Armv9-A SVE is mandatory, and for SVE FP16 is mandatory. This fixes a disconnect
between GCC and binutils where GCC has FP16 on by default and gas doesn't.
include/ChangeLog:
2022-05-16 Tamar Christina <tamar.christina@arm.com>
* opcode/aarch64.h (AARCH64_ARCH_V9_FEATURES): Add AARCH64_FEATURE_F16.
(cherry picked from commit e1e15284481896505eab0cbc556f2348ef8fffbf)
Signed-off-by: Tamar Christina <tamar.christina@arm.com>
-rw-r--r-- | include/opcode/aarch64.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h index a4912930c8..8fe27900cb 100644 --- a/include/opcode/aarch64.h +++ b/include/opcode/aarch64.h @@ -140,6 +140,7 @@ typedef uint32_t aarch64_insn; | AARCH64_FEATURE_HBC) #define AARCH64_ARCH_V9_FEATURES (AARCH64_FEATURE_V9 \ + | AARCH64_FEATURE_F16 \ | AARCH64_FEATURE_SVE \ | AARCH64_FEATURE_SVE2) #define AARCH64_ARCH_V9_1_FEATURES (AARCH64_ARCH_V8_6_FEATURES) |