[PATCH v2 1/7] aarch64: Add support for FEAT_SME_F16F16 feature.

Srinath Parvathaneni srinath.parvathaneni@arm.com
Thu Jan 2 11:36:33 GMT 2025


This patch adds support for FEAT_SME_F16F16 feature (Non-widening
half-precision FP16 to FP16 arithmetic for SME2), which is enabled
using command line flags +sme-f16f16 to -march (which enables both
FEAT_SME2 and FEAT_SME_F16F16).

There are couple of instructions (fadd and fsub variants) which should
be allowed by the assembler on either passing +sme-f16f16 or +sme-f8f16.
Those instructions are already supported in the current assembler, this
patch adds tests for those instructions as well.
---
 gas/config/tc-aarch64.c                      |  3 +-
 gas/doc/c-aarch64.texi                       |  2 ++
 gas/testsuite/gas/aarch64/sme-f16f16-1-bad.d |  4 +++
 gas/testsuite/gas/aarch64/sme-f16f16-1-bad.l | 33 +++++++++++++++++
 gas/testsuite/gas/aarch64/sme-f16f16-1-bad.s | 21 +++++++++++
 gas/testsuite/gas/aarch64/sme-f16f16-1.d     | 38 ++++++++++++++++++++
 gas/testsuite/gas/aarch64/sme-f16f16-1.s     | 33 +++++++++++++++++
 include/opcode/aarch64.h                     |  2 ++
 8 files changed, 135 insertions(+), 1 deletion(-)
 create mode 100644 gas/testsuite/gas/aarch64/sme-f16f16-1-bad.d
 create mode 100644 gas/testsuite/gas/aarch64/sme-f16f16-1-bad.l
 create mode 100644 gas/testsuite/gas/aarch64/sme-f16f16-1-bad.s
 create mode 100644 gas/testsuite/gas/aarch64/sme-f16f16-1.d
 create mode 100644 gas/testsuite/gas/aarch64/sme-f16f16-1.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0001-aarch64-Add-support-for-FEAT_SME_F16F16-feature.patch
Type: text/x-patch
Size: 9490 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250102/063e416f/attachment.bin>


More information about the Binutils mailing list