[PATCH 0/1] ppc: support register names in macros
Dmitry Selyutin
ghostmansd@gmail.com
Tue Jul 12 13:50:56 GMT 2022
This patch is a follow-up of discussion:
https://sourceware.org/pipermail/binutils/2022-July/121719.html
Form now on, PPC assembly becomes capable of compiling such code:
.set VREG, %r0
.set REG, VREG
extsw REG, 2
extsw %r1, 1
The custom register_name() code path, as well as checks for CRs, are
deprecated; from now on, we use md_operand() routine everywhere.
Whilst we're here, let's also reuse register lookup for CFI.
Dmitry Selyutin (1):
ppc: support register names in macros
gas/config/tc-ppc.c | 206 +++++++++++++++++---------------------------
gas/config/tc-ppc.h | 9 +-
2 files changed, 86 insertions(+), 129 deletions(-)
--
2.37.0
More information about the Binutils
mailing list