[PATCH v5 4/5] aarch64: Add support for FEAT_SME_B16B16 feature.

Srinath Parvathaneni srinath.parvathaneni@arm.com
Fri Jan 10 16:24:29 GMT 2025


This patch adds support for SME ZA-targeting non-widening BFloat16 instructions,
under tick FEAT_SME_B16B16 and command line flag "+sme-b16b16".

FEAT_SME_B16B16 implements FEAT_SME2 and FEAT_SVE_B16B16, in accordance with that
"+sme-b16b16" enables "+sme2" and "+sve-b16b16".

Also the test files related to FEAT_SME_B16B16 are prefixed with sme-b16b16*.
eg: sme-b16b16-1.s, sme-b16b16-1.d.

The spec for this feature and instructions is availabe here [1]:
[1]: https://developer.arm.com/documentation/ddi0602/2024-06/SME-Instructions?lang=en
---
 gas/NEWS                                     |   3 +
 gas/config/tc-aarch64.c                      |   2 +
 gas/doc/c-aarch64.texi                       |   2 +
 gas/testsuite/gas/aarch64/sme-b16b16-1.d     | 126 ++++++++++++
 gas/testsuite/gas/aarch64/sme-b16b16-1.s     | 143 ++++++++++++++
 gas/testsuite/gas/aarch64/sme-b16b16-bad-1.d |   3 +
 gas/testsuite/gas/aarch64/sme-b16b16-bad-1.l | 193 +++++++++++++++++++
 gas/testsuite/gas/aarch64/sme-b16b16-bad-1.s | 173 +++++++++++++++++
 include/opcode/aarch64.h                     |   2 +
 opcodes/aarch64-tbl.h                        |  26 +++
 10 files changed, 673 insertions(+)
 create mode 100644 gas/testsuite/gas/aarch64/sme-b16b16-1.d
 create mode 100644 gas/testsuite/gas/aarch64/sme-b16b16-1.s
 create mode 100644 gas/testsuite/gas/aarch64/sme-b16b16-bad-1.d
 create mode 100644 gas/testsuite/gas/aarch64/sme-b16b16-bad-1.l
 create mode 100644 gas/testsuite/gas/aarch64/sme-b16b16-bad-1.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v5-0004-aarch64-Add-support-for-FEAT_SME_B16B16-feature.patch
Type: text/x-patch
Size: 46247 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250110/20831d0c/attachment-0001.bin>


More information about the Binutils mailing list