public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: WANG Xuerui <i.swmail@xen0n.name>
To: binutils@sourceware.org
Cc: Chenghua Xu <xuchenghua@loongson.cn>,
	Zhensong Liu <liuzhensong@loongson.cn>,
	Xi Ruoyao <xry111@xry111.site>, WANG Xuerui <git@xen0n.name>
Subject: [PATCH 0/2] opcodes: LoongArch: Cleanups to jumps
Date: Wed, 27 Jul 2022 19:07:55 +0800	[thread overview]
Message-ID: <20220727110757.2520234-1-i.swmail@xen0n.name> (raw)

From: WANG Xuerui <git@xen0n.name>

Hi,

This is a resend of the previous series at [1], but without the more
controversial parts for getting at least something done.

As for the controversy over "ret" [2]: how do we teach users about this?
We don't even have written documentation about the other pseudo-insns at
present. However I chose to include this change after all, after seeing
the just upstreamed glibc port adopting it downstream. If anything, you
(Loongson maintainers) could pick the first patch only, and let the
discussion over "ret" continue.

[1]: https://sourceware.org/pipermail/binutils/2021-October/118261.html
[2]: https://sourceware.org/pipermail/binutils/2021-November/118534.html

WANG Xuerui (2):
  opcodes: LoongArch: make all non-native jumps desugar to canonical
    b{lt/ge}[u] forms
  opcodes: LoongArch: add "ret" instruction to reduce typing

 opcodes/loongarch-opc.c | 32 +++++++++++++-------------------
 1 file changed, 13 insertions(+), 19 deletions(-)

-- 
2.35.1


             reply	other threads:[~2022-07-27 11:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-27 11:07 WANG Xuerui [this message]
2022-07-27 11:07 ` [PATCH 1/2] opcodes: LoongArch: make all non-native jumps desugar to canonical b{lt/ge}[u] forms WANG Xuerui
2022-07-29  1:18   ` liuzhensong
2022-07-29  9:42     ` WANG Xuerui
2022-07-29 10:02       ` liuzhensong
2022-07-29 10:06         ` WANG Xuerui
2022-08-01  3:43   ` liuzhensong
2022-07-27 11:07 ` [PATCH 2/2] opcodes: LoongArch: add "ret" instruction to reduce typing WANG Xuerui
2022-07-27 13:26   ` Xi Ruoyao
2022-07-29 10:09     ` WANG Xuerui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220727110757.2520234-1-i.swmail@xen0n.name \
    --to=i.swmail@xen0n.name \
    --cc=binutils@sourceware.org \
    --cc=git@xen0n.name \
    --cc=liuzhensong@loongson.cn \
    --cc=xry111@xry111.site \
    --cc=xuchenghua@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).