public inbox for qemu-arm@nongnu.org
 help / color / mirror / Atom feed
From: Jim MacArthur <jim.macarthur@linaro.org>
To: Richard Henderson <richard.henderson@linaro.org>
Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [PATCH RFC 2/2] tcg/aarch64/tcg-target.c.inc: Manual replace of I3310, I3313
Date: Fri, 27 Mar 2026 14:54:57 +0000	[thread overview]
Message-ID: <acaaQT2sH178SkZ7@linaro.org> (raw)
In-Reply-To: <7be1406f-11ca-4422-bb3f-bc344d736ad7@linaro.org>

On Fri, Mar 27, 2026 at 12:50:13PM +1000, Richard Henderson wrote:
> On 3/19/26 22:12, Jim MacArthur wrote:
> > These are not formats in themselves, but extra constants to OR in with
> > the existing ldst_imm format.
> > 
> > Signed-off-by: Jim MacArthur <jim.macarthur@linaro.org>
> > ---
> >   tcg/aarch64/tcg-target.c.inc | 64 +++++++++++++++++++++++++-------------------
> >   1 file changed, 36 insertions(+), 28 deletions(-)
> > 
> > diff --git a/tcg/aarch64/tcg-target.c.inc b/tcg/aarch64/tcg-target.c.inc
> > index e9f86176d2..1f59d40a77 100644
> > --- a/tcg/aarch64/tcg-target.c.inc
> > +++ b/tcg/aarch64/tcg-target.c.inc
> > @@ -458,8 +458,9 @@ typedef enum {
> >       Ildst_imm_LDRVQ  = 0x3c000000 | 3 << 22 | 0 << 30,
> >       Ildst_imm_STRVQ  = 0x3c000000 | 2 << 22 | 0 << 30,
> > -    Ildst_imm_TO_I3310 = 0x00200800,
> > -    Ildst_imm_TO_I3313 = 0x01000000,
> > +    /* Additions to the ldst_imm format */
> > +    ldst_imm_to_sign_extend = 0x00200800,
> 
> "to sign extend" is wrong.
> 
> C3.3.10 Load/store register (register offset)
> 
> Perhaps ldst_imm_to_reg?
> 

Quite right, ldst_imm_to_reg does make more sense. Thanks for checking.

Jim


  reply	other threads:[~2026-03-27 14:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-19 12:12 [PATCH RFC 0/2] Replace aarch64 TCG instruction formats with more meaningful names Jim MacArthur
2026-03-19 12:12 ` [PATCH RFC 1/2] tcg/aarch64/tcg-target.c.inc: Replacement of I3XXX names Jim MacArthur
2026-03-19 12:12 ` [PATCH RFC 2/2] tcg/aarch64/tcg-target.c.inc: Manual replace of I3310, I3313 Jim MacArthur
2026-03-27  2:50   ` Richard Henderson
2026-03-27 14:54     ` Jim MacArthur [this message]
2026-03-27  2:02 ` [PATCH RFC 0/2] Replace aarch64 TCG instruction formats with more meaningful names Richard Henderson

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=acaaQT2sH178SkZ7@linaro.org \
    --to=jim.macarthur@linaro.org \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    /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