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

Srinath Parvathaneni srinath.parvathaneni@arm.com
Thu Jan 9 13:38:01 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                                      |   5 +-
 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 ++++++++++++++++
 .../gas/aarch64/sve-b16b16-sve2-bad-2.l       |  16 +-
 include/opcode/aarch64.h                      |   2 +
 opcodes/aarch64-tbl.h                         |  30 +++
 11 files changed, 686 insertions(+), 9 deletions(-)
 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: v4-0004-aarch64-Add-support-for-FEAT_SME_B16B16-feature.patch
Type: text/x-patch
Size: 50084 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250109/cee30d21/attachment-0001.bin>


More information about the Binutils mailing list