From: Jeff Law <jeffreyalaw@gmail.com>
To: Nelson Chu <nelson@rivosinc.com>, Palmer Dabbelt <palmer@dabbelt.com>
Cc: christoph.muellner@vrull.eu, binutils@sourceware.org,
Andrew Waterman <andrew@sifive.com>,
Jim Wilson <jim.wilson.gcc@gmail.com>,
philipp.tomsich@vrull.eu, jbeulich@suse.com,
Kito Cheng <kito.cheng@gmail.com>,
research_trasio@irq.a4lg.com
Subject: Re: [RFC PATCH v5] RISC-V: Add support for the Zfa extension
Date: Fri, 30 Jun 2023 07:38:03 -0600 [thread overview]
Message-ID: <a0a03f3a-db47-4a23-92cc-0eb79a44c7cd@gmail.com> (raw)
In-Reply-To: <CAPpQWtCmpFOzEFWvBU+AS2R_nxN9Oq=L6OGK854F8ZHkZbKpDw@mail.gmail.com>
On 6/29/23 18:47, Nelson Chu wrote:
>
>
> On Thu, Jun 29, 2023 at 11:52 PM Palmer Dabbelt <palmer@dabbelt.com
> <mailto:palmer@dabbelt.com>> wrote:
>
> On Thu, 29 Jun 2023 08:49:16 PDT (-0700), jeffreyalaw@gmail.com
> <mailto:jeffreyalaw@gmail.com> wrote:
> >
> >
> > On 6/29/23 09:37, Palmer Dabbelt wrote:
> >
> >>>> > So my understanding is that this needs to wait for
> ratification and is
> >>>> > not blocked by the mentioned PR.
> >>>> Is there something special about Zfa that makes it desirable
> to wait for
> >>>> ratification as opposed to standard practice of gating things
> as the
> >>>> specs get to a Frozen state?
> >>>
> >>> Not to my knowledge.
> >>
> >> Waiting for ratification is probably a bad idea, there's really
> no way
> >> to schedule around it. That's a big part of the reason we've just
> >> waited for frozen.
> > Exactly. ISTM that frozen is the right point to trigger.
>
>
> Okay, I never figured out the difference between ratified and frozen,
> since both of them have examples that change the behaviors and syntaxes,
> even encodings. But anyway, thanks for clarifying the current rule that
> we should commit when extension is frozen, not ratified.
Well as the newcomer to RISC-V I don't have the history. In general I
would expect very few changes from frozen to ratified and probably just
things like semantic clarifications for issues that slipped through the
prior states. If things like encodings are still changing post-freeze,
then that's a major failing of the process.
Also as the newcomer I tend to rely heavily on policies that other have
set and the policy around this that has been drummed into my brain is
freeze time :-)
>
> > And I think enough of it is settled that we can move forward. If RVI
> > changes the set of forms allowed, then we can adjust.
>
>
> Does that mean we don't need to care about compatibility before the
> ratified extensions? That means we can simply change anything and don't
> need to maintain the code even if it is frozen. If that is so, then
> Jim, Kito and I had agreed a very long time ago that we should accept
> the experiment extension, which hasn't been frozen yet, with the
> -experiment-extension option that is the same as LLVM.
If they were to change the forms of FP constants allowed, then we'd
adjust. If they add new allowed forms, then that's easy, we just need
to build a suitable parser to recognize them. The more interesting
problem is if they remove allowed forms -- and as Palmer said, we'd try
to keep the old forms for the sake of compatibility.
> I have looked and replied, Kito and Jan should also have looked. The
> special zfa syntax should be the same as LLVM when I looked. But since
> that is almost two month ago, it's good if someone helps to review it
> again to make sure everything is on the line.
> > I've looked at it earlier. But I'll go over it again.
Last I heard the only issue was whether or not to allow an integer index
into the table. That's rough because one could easily confuse "2.0"
with "2" though they'd have totally different meanings. As a result
LLVM removed the ability to use the table index IIRC.
>
> Thanks, Jeff, it would be great to get your approval as well.
Happy to do so. Hell, I wouldn't be comfortable merging it myself if I
didn't.
jeff
prev parent reply other threads:[~2023-06-30 13:38 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-13 13:36 Christoph Muellner
2023-06-29 7:52 ` Christoph Müllner
2023-06-29 8:33 ` Christoph Müllner
2023-06-29 15:07 ` Jeff Law
2023-06-29 15:10 ` Christoph Müllner
2023-06-29 15:37 ` Palmer Dabbelt
2023-06-29 15:49 ` Jeff Law
2023-06-29 15:51 ` Philipp Tomsich
2023-06-30 13:40 ` Jeff Law
2023-06-30 14:06 ` Jeff Law
2023-06-30 14:08 ` Philipp Tomsich
2023-06-30 14:39 ` Jeff Law
2023-06-29 15:52 ` Palmer Dabbelt
2023-06-29 16:03 ` Jeff Law
2023-06-29 16:12 ` Palmer Dabbelt
2023-06-30 14:07 ` Philipp Tomsich
2023-06-30 0:47 ` Nelson Chu
2023-06-30 6:49 ` Kito Cheng
2023-06-30 13:38 ` Jeff Law [this message]
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=a0a03f3a-db47-4a23-92cc-0eb79a44c7cd@gmail.com \
--to=jeffreyalaw@gmail.com \
--cc=andrew@sifive.com \
--cc=binutils@sourceware.org \
--cc=christoph.muellner@vrull.eu \
--cc=jbeulich@suse.com \
--cc=jim.wilson.gcc@gmail.com \
--cc=kito.cheng@gmail.com \
--cc=nelson@rivosinc.com \
--cc=palmer@dabbelt.com \
--cc=philipp.tomsich@vrull.eu \
--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).