[PATCH v3 0/7] aarch64: deprecate some ISA features

Richard Earnshaw rearnsha@arm.com
Tue Jun 30 09:41:56 GMT 2026


A couple of features which were specified in the architecture, but
never implemented in products have been withdrawn.  This short series
adjusts the assembler to warn if they are used in real code.  The
intent is to ultimately remove support entirely from the tools, but
we'll do that in stages and deprecation is the first step.

I've taken a slightly different approach this time for the MPAMv2_VID
changes, opting to use git reverts for most of the removal.  The
reverts don't apply completely cleanly due to subsequent updates, but
the conflict wasn't hard to resolve.

I'd like to get this committed some time this week, so that it's in
with plenty of time before for the upcoming branch.

Changes since v1:

 - Incorporate most of the feedback from Jan

Changes since v2:
 - Rework the MPAMv2_VID changes to cover the MLBI instruction and
   remove the +mpamv2 architecture feature flag.


Richard Earnshaw (7):
  aarch64: Remove a stray comment from opcode/aarch64.h
  aarch64: warn if the TME feature is used during assembly.
  aarch64: remove MLBI from sys-rt-alias test.
  Revert "aarch64: Add support for MLBI system instructions"
  Revert "aarch64: Add FEAT_MPAMv2_VID system registers"
  aarch64: Remove +mpamv2 feature option
  NEWS: Update for withdrawal of the MPAMv2_VID feature.

 gas/NEWS                                      |  6 +++
 gas/config/tc-aarch64.c                       | 37 +++++++++++--------
 gas/doc/c-aarch64.texi                        |  2 -
 gas/testsuite/gas/aarch64/mlbi-1.d            | 14 -------
 gas/testsuite/gas/aarch64/mlbi-1.s            |  9 -----
 gas/testsuite/gas/aarch64/mlbi-invalid-1.d    |  3 --
 gas/testsuite/gas/aarch64/mlbi-invalid-1.l    |  7 ----
 gas/testsuite/gas/aarch64/mlbi-invalid-1.s    |  9 -----
 gas/testsuite/gas/aarch64/mlbi-invalid-2.d    |  4 --
 gas/testsuite/gas/aarch64/mlbi-invalid-2.l    | 13 -------
 gas/testsuite/gas/aarch64/sys-rt-alias.d      |  2 -
 gas/testsuite/gas/aarch64/sys-rt-alias.s      |  2 -
 gas/testsuite/gas/aarch64/sysreg/mpamv2-bad.d |  2 +-
 gas/testsuite/gas/aarch64/sysreg/mpamv2.d     |  2 +-
 .../gas/aarch64/sysreg/mpamv2_vid-bad.d       |  3 --
 .../gas/aarch64/sysreg/mpamv2_vid-bad.l       | 13 -------
 gas/testsuite/gas/aarch64/sysreg/mpamv2_vid.d | 14 -------
 gas/testsuite/gas/aarch64/sysreg/mpamv2_vid.s |  5 ---
 gas/testsuite/gas/aarch64/tme-warn.l          | 15 ++++++++
 gas/testsuite/gas/aarch64/tme.d               |  1 +
 include/opcode/aarch64.h                      | 12 +++---
 opcodes/aarch64-asm-2.c                       |  2 -
 opcodes/aarch64-dis-2.c                       |  4 --
 opcodes/aarch64-dis.c                         |  1 -
 opcodes/aarch64-opc-2.c                       |  1 -
 opcodes/aarch64-opc.c                         | 10 -----
 opcodes/aarch64-sys-regs.def                  | 11 ++----
 opcodes/aarch64-tbl-2.h                       |  1 -
 opcodes/aarch64-tbl.h                         | 18 +++------
 29 files changed, 60 insertions(+), 163 deletions(-)
 delete mode 100644 gas/testsuite/gas/aarch64/mlbi-1.d
 delete mode 100644 gas/testsuite/gas/aarch64/mlbi-1.s
 delete mode 100644 gas/testsuite/gas/aarch64/mlbi-invalid-1.d
 delete mode 100644 gas/testsuite/gas/aarch64/mlbi-invalid-1.l
 delete mode 100644 gas/testsuite/gas/aarch64/mlbi-invalid-1.s
 delete mode 100644 gas/testsuite/gas/aarch64/mlbi-invalid-2.d
 delete mode 100644 gas/testsuite/gas/aarch64/mlbi-invalid-2.l
 delete mode 100644 gas/testsuite/gas/aarch64/sysreg/mpamv2_vid-bad.d
 delete mode 100644 gas/testsuite/gas/aarch64/sysreg/mpamv2_vid-bad.l
 delete mode 100644 gas/testsuite/gas/aarch64/sysreg/mpamv2_vid.d
 delete mode 100644 gas/testsuite/gas/aarch64/sysreg/mpamv2_vid.s
 create mode 100644 gas/testsuite/gas/aarch64/tme-warn.l

-- 
2.43.0



More information about the Binutils mailing list