]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/sparc: Loosen decode of RDTBR for v7
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 5 Sep 2025 09:41:46 +0000 (11:41 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 23 Sep 2025 23:51:21 +0000 (16:51 -0700)
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")
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/sparc/insns.decode

index 77b2f54fdf92fce97fbc259024284d6b4398e75c..242ec420161fce44f0542cf1df57ae91e59ee76b 100644 (file)
@@ -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 ----- - -------------
 }
 
 {