[PATCH 1/3] aarch64: Add march flags for +fp8 arch extensions
Claudio Bantaloukas
claudio.bantaloukas@arm.com
Mon Jul 22 09:25:04 GMT 2024
This introduces the relevant flags to enable access to the fpmr register and fp8 intrinsics, which will be added subsequently.
The `+fp8' -march modifier defines the __ARM_FEATURE_FP8 macro to 1.
gcc/ChangeLog:
* config/aarch64/aarch64-c.cc (__ARM_FEATURE_FP8): New.
* config/aarch64/aarch64-option-extensions.def (fp8): Likewise.
(the): Likewise.
* config/aarch64/aarch64.h (TARGET_FP8): Likewise.
* doc/invoke.texi (AArch64 Options): Document new -march flags
and extensions.
gcc/testsuite/ChangeLog:
* gcc.target/aarch64/acle/fp8.c: New test.
---
gcc/config/aarch64/aarch64-c.cc | 1 +
.../aarch64/aarch64-option-extensions.def | 2 ++
gcc/config/aarch64/aarch64.h | 3 +++
gcc/doc/invoke.texi | 2 ++
gcc/testsuite/gcc.target/aarch64/acle/fp8.c | 19 +++++++++++++++++++
5 files changed, 27 insertions(+)
create mode 100644 gcc/testsuite/gcc.target/aarch64/acle/fp8.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-aarch64-Add-march-flags-for-fp8-arch-extensions.patch
Type: text/x-patch
Size: 2750 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20240722/7b4c0673/attachment-0001.bin>
More information about the Binutils
mailing list