[PATCH 0/3] aarch64: Add march flags for +fp8 arch extensions
Claudio Bantaloukas
claudio.bantaloukas@arm.com
Mon Jul 22 09:25:03 GMT 2024
This series introduces initial flags and functionality for the fp8 feature.
Specifically, the following are added:
- functions that enable constructing valid fpm register values.
- support for the '+fp8' -march modifier that defines the __ARM_FEATURE_FP8 macro to 1.
- support for reading and writing the new system register FPMR (Floating Point Mode
Register) which configures the new FP8 features
Tested against aarch64-unknown-linux-gnu.
Due to the addition of new flags, this patch is based on and requires that the series
"[PATCH v2 00/11] aarch64: Extend aarch64_feature_flags to 128 bits" be applied.
Is this ok for master? I do not have merge permissions. Can someone merge this for me please?
Thanks,
Claudio Bantaloukas
Claudio Bantaloukas (3):
aarch64: Add march flags for +fp8 arch extensions
aarch64: Add support for moving fpm system register
aarch64: add fpm register helper functions.
gcc/config/aarch64/aarch64-c.cc | 1 +
.../aarch64/aarch64-option-extensions.def | 2 +
gcc/config/aarch64/aarch64.cc | 9 ++
gcc/config/aarch64/aarch64.h | 17 ++-
gcc/config/aarch64/aarch64.md | 30 +++--
gcc/config/aarch64/arm_acle.h | 37 ++++++
gcc/config/aarch64/constraints.md | 3 +
gcc/doc/invoke.texi | 2 +
.../gcc.target/aarch64/acle/fp8-helpers.c | 52 ++++++++
gcc/testsuite/gcc.target/aarch64/acle/fp8.c | 120 ++++++++++++++++++
10 files changed, 259 insertions(+), 14 deletions(-)
create mode 100644 gcc/testsuite/gcc.target/aarch64/acle/fp8-helpers.c
create mode 100644 gcc/testsuite/gcc.target/aarch64/acle/fp8.c
--
2.43.0
More information about the Binutils
mailing list