[PATCH v3 1/3] aarch64: Add march flags for +fp8 arch extensions

Claudio Bantaloukas claudio.bantaloukas@arm.com
Fri Jul 26 16:32:52 GMT 2024


This introduces the relevant flags to enable access to the fpmr register and fp8 intrinsics, which will be added subsequently.

gcc/ChangeLog:

	* config/aarch64/aarch64-option-extensions.def (fp8): New.
	* 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.
---
 .../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   | 20 +++++++++++++++++++
 4 files changed, 27 insertions(+)
 create mode 100644 gcc/testsuite/gcc.target/aarch64/acle/fp8.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v3-0001-aarch64-Add-march-flags-for-fp8-arch-extensions.patch
Type: text/x-patch
Size: 2262 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20240726/f690cd6f/attachment-0001.bin>


More information about the Gcc-patches mailing list