]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/config/tc-aarch64.c
aarch64: Rename some of GAS's REG_TYPE_* macros
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 30 Mar 2023 10:09:09 +0000 (11:09 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Thu, 30 Mar 2023 10:09:09 +0000 (11:09 +0100)
commit2f4e3a2c823f7a51630253cd8a8681203b86664b
tree52888e652cc116df1e4b3f17b5faa197f20c063d
parent199cfcc4754cea6f4c42dcbb8d8d5161f5b2d186
aarch64: Rename some of GAS's REG_TYPE_* macros

In GAS, the vector and predicate registers are identified by
REG_TYPE_VN, REG_TYPE_ZN and REG_TYPE_PN.  This "N" is obviously
a placeholder for the register number.  However, we don't use that
convention for integer and FP registers, and (more importantly)
SME2 adds "predicate-as-counter" registers that are denoted PN.

This patch therefore drops the "N" suffix from the existing
registers.  The main hitch is that Z was also used for the
zero register in things like R_Z, but using ZR seems more
consistent with the SP-based names.
gas/config/tc-aarch64.c