public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Nelson Chu <nelson@rivosinc.com>
To: Jan Beulich <jbeulich@suse.com>
Cc: Tsukasa OI <research_trasio@irq.a4lg.com>,
	Binutils <binutils@sourceware.org>
Subject: Re: [PATCH v2] RISC-V: Add support for 'Zacas' atomic CAS
Date: Wed, 25 Oct 2023 10:15:10 +0800	[thread overview]
Message-ID: <CAPpQWtDfpfL-rnLX23-tbes5AvKQVQOHN_fHngRNUME8REnk=w@mail.gmail.com> (raw)
In-Reply-To: <aa86d0ac-7c3e-22c4-70f5-6912651a4d5e@suse.com>

[-- Attachment #1: Type: text/plain, Size: 1723 bytes --]

On Tue, Oct 24, 2023 at 2:03 PM Jan Beulich <jbeulich@suse.com> wrote:

> On 24.10.2023 06:07, Tsukasa OI wrote:
> > As a single patch set, I think Gianluca's patch with a minor fix will
> > work perfectly.  But, the concept of register pairs / register groups
> > are not specific to 'Zacas', that's what I'm talking about and the
> > reason I think Gianluca's patch set's match function will not be a long
> > term solution (actually, I found Gianluca's patch set after I wrote
> > mine, but that wouldn't change my opinion).
>

As I said before, I don't know if we really need the constraint checks for
register groups in assembler or not.  Or on the other hand, I don't know if
we really need the detailed register constraint checks for assembly
syntax.  I remembered you completely unacceptable to fight back that you
don't care about hardware testing since you were doing toolchain, but for
those DV guys, they are also one of the users of toolchain.  However, for
many things, lots of users are used to using some behaviors or code in the
toolchain.  These behaviors are not wrong, maybe they are just not that
rigorous.  Even though your idea may be beneficial to some people, it can
also cause problems for others.

So, I was not rejecting your idea before, I was just trying to let you know
every change you made may cause trouble for others, especially that some
behaviors are established for many years.  Since the rvv register group
checks were argued before and removed, I will suggest we just
remove the same checks for zacas.  If other maintainers support that we
should also do these kinds of complicated constraint checks, then you can
ignore my comments.

Thanks
Nelson

  reply	other threads:[~2023-10-25  2:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-21  3:12 [PATCH 0/1] " Tsukasa OI
2023-10-21  3:12 ` [PATCH 1/1] " Tsukasa OI
2023-10-22  3:54 ` [PATCH v2] " Tsukasa OI
2023-10-22  3:57   ` [REVIEW ONLY] UNRATIFIED RISC-V: Add support for 'Zabha' subword AMO extension Tsukasa OI
2023-10-22  3:59   ` [PATCH v2] RISC-V: Add support for 'Zacas' atomic CAS Tsukasa OI
2023-10-23  6:47   ` Jan Beulich
2023-10-24  4:07     ` Tsukasa OI
2023-10-24  6:02       ` Jan Beulich
2023-10-25  2:15         ` Nelson Chu [this message]
2023-10-25  6:02           ` Jan Beulich
2023-12-06 18:39 ` [PATCH 0/1] " Gianluca Guida

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='CAPpQWtDfpfL-rnLX23-tbes5AvKQVQOHN_fHngRNUME8REnk=w@mail.gmail.com' \
    --to=nelson@rivosinc.com \
    --cc=binutils@sourceware.org \
    --cc=jbeulich@suse.com \
    --cc=research_trasio@irq.a4lg.com \
    /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).