qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: mark.cave-ayland@ilande.co.uk, atar4qemu@gmail.com
Subject: [PATCH v2 6/7] target/sparc: Loosen decode of RDTBR for v7
Date: Fri,  5 Sep 2025 13:51:27 +0200	[thread overview]
Message-ID: <20250905115128.376295-7-richard.henderson@linaro.org> (raw)
In-Reply-To: <20250905115128.376295-1-richard.henderson@linaro.org>

For v7, bits [18:0] are ignored.
For v8, bits [18:14] are reserved and bits [13:0] are ignored.

Fixes: e8325dc02d0 ("target/sparc: Move RDTBR, FLUSHW to decodetree")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 target/sparc/insns.decode | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/sparc/insns.decode b/target/sparc/insns.decode
index 77b2f54fdf..242ec42016 100644
--- a/target/sparc/insns.decode
+++ b/target/sparc/insns.decode
@@ -226,7 +226,7 @@ WRPR_strand_status  10 11010 110010 ..... . .............  @n_r_ri
 
 {
   FLUSHW    10 00000 101011 00000 0 0000000000000
-  RDTBR     10 rd:5  101011 00000 0 0000000000000
+  RDTBR     10 rd:5  101011 ----- - -------------
 }
 
 {
-- 
2.43.0



  parent reply	other threads:[~2025-09-05 11:53 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-05 11:51 [PATCH v2 0/7] target/sparc: Relax some decode for v7/v8 Richard Henderson
2025-09-05 11:51 ` [PATCH v2 1/7] target/sparc: Allow TRANS macro with no extra arguments Richard Henderson
2025-09-17 20:23   ` Mark Cave-Ayland
2025-09-05 11:51 ` [PATCH v2 2/7] target/sparc: Loosen decode of STBAR for v8 Richard Henderson
2025-09-05 11:51 ` [PATCH v2 3/7] target/sparc: Loosen decode of RDY for v7 Richard Henderson
2025-09-05 11:51 ` [PATCH v2 4/7] target/sparc: Loosen decode of RDPSR " Richard Henderson
2025-09-17 20:26   ` Mark Cave-Ayland
2025-09-05 11:51 ` [PATCH v2 5/7] target/sparc: Loosen decode of RDWIM " Richard Henderson
2025-09-17 20:28   ` Mark Cave-Ayland
2025-09-05 11:51 ` Richard Henderson [this message]
2025-09-17 20:29   ` [PATCH v2 6/7] target/sparc: Loosen decode of RDTBR " Mark Cave-Ayland
2025-09-05 11:51 ` [PATCH v2 7/7] target/sparc: Relax decode of rs2_or_imm " Richard Henderson
2025-09-17 20:42   ` Mark Cave-Ayland
2025-09-17 22:23     ` Richard Henderson
2025-09-24 20:25 ` [PATCH v2 0/7] target/sparc: Relax some decode for v7/v8 Michael Tokarev
2025-09-24 21:25   ` 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=20250905115128.376295-7-richard.henderson@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=atar4qemu@gmail.com \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).