public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/1] ppc: support register names in macros
@ 2022-07-12 13:50 Dmitry Selyutin
  2022-07-12 13:50 ` [PATCH 1/1] " Dmitry Selyutin
  2022-07-12 21:22 ` [PATCH v2 0/1] " Dmitry Selyutin
  0 siblings, 2 replies; 19+ messages in thread
From: Dmitry Selyutin @ 2022-07-12 13:50 UTC (permalink / raw)
  To: binutils; +Cc: Alan Modra, Luke Leighton, Jan Beulich, Dmitry Selyutin

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2022-07-14 23:02 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-12 13:50 [PATCH 0/1] ppc: support register names in macros Dmitry Selyutin
2022-07-12 13:50 ` [PATCH 1/1] " Dmitry Selyutin
2022-07-12 14:13   ` Dmitry Selyutin
2022-07-12 14:18   ` lkcl
2022-07-12 14:24     ` Dmitry Selyutin
2022-07-12 21:22 ` [PATCH v2 0/1] " Dmitry Selyutin
2022-07-12 21:22   ` [PATCH v2 1/1] " Dmitry Selyutin
2022-07-12 21:29     ` [PATCH v3 0/1] " Dmitry Selyutin
2022-07-12 21:29       ` [PATCH v3 1/1] " Dmitry Selyutin
2022-07-13 15:34         ` Alan Modra
2022-07-14  6:03           ` PowerPC: implement md_operand to parse register names Alan Modra
2022-07-14  6:04           ` [PATCH v3 1/1] ppc: support register names in macros Dmitry Selyutin
2022-07-14  6:05             ` [PATCH] ppc: use reg_name_search for CFI register lookup Dmitry Selyutin
2022-07-14  7:25               ` Alan Modra
2022-07-14  8:21                 ` [PATCH v2] " Dmitry Selyutin
2022-07-14 23:01                   ` Alan Modra
2022-07-14  8:23                 ` [PATCH] " Dmitry Selyutin
2022-07-14  8:25                   ` Dmitry Selyutin
2022-07-14 23:02                     ` Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).