[PATCH v1] aarch64: Add supports for FEAT_PoPS feature and DC instructions.

Srinath Parvathaneni srinath.parvathaneni@arm.com
Thu Jun 5 15:36:50 GMT 2025


Hi,

This patch add support for FEAT_PoPS feature which can be enabled
through +pops command line flag.

This patch also adds support for following DC instructions and the
spec can be found here [1].
1. "dc cigdvaps" enabled on passing +memtag+pops command line flags.
2. "dc civaps" enabled on passing +pops command line flag.

Regression tested for aarch64-none-elf target and found no regressions.

Ok for binutils-master?

Regards,
Srinath.

[1]: https://developer.arm.com/documentation/ddi0601/2025-03/AArch64-Instructions?lang=en
---
 gas/config/tc-aarch64.c                       |  1 +
 gas/doc/c-aarch64.texi                        |  2 ++
 .../gas/aarch64/sysreg/pops-sysregs-bad.d     |  3 +++
 .../gas/aarch64/sysreg/pops-sysregs-bad.l     |  8 ++++++++
 .../gas/aarch64/sysreg/pops-sysregs-bad.s     | 20 +++++++++++++++++++
 .../gas/aarch64/sysreg/pops-sysregs.d         | 12 +++++++++++
 .../gas/aarch64/sysreg/pops-sysregs.s         |  7 +++++++
 include/opcode/aarch64.h                      |  2 ++
 opcodes/aarch64-opc.c                         |  2 ++
 9 files changed, 57 insertions(+)
 create mode 100644 gas/testsuite/gas/aarch64/sysreg/pops-sysregs-bad.d
 create mode 100644 gas/testsuite/gas/aarch64/sysreg/pops-sysregs-bad.l
 create mode 100644 gas/testsuite/gas/aarch64/sysreg/pops-sysregs-bad.s
 create mode 100644 gas/testsuite/gas/aarch64/sysreg/pops-sysregs.d
 create mode 100644 gas/testsuite/gas/aarch64/sysreg/pops-sysregs.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v1-0001-aarch64-Add-supports-for-FEAT_PoPS-feature-and-DC.patch
Type: text/x-patch
Size: 5013 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250605/4443c595/attachment.bin>


More information about the Binutils mailing list