From: Richard Henderson Date: Fri, 5 Sep 2025 09:41:46 +0000 (+0200) Subject: target/sparc: Loosen decode of RDTBR for v7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ff52f9dee064d3c2138426834320f5877863d9b;p=thirdparty%2Fqemu.git target/sparc: Loosen decode of RDTBR for v7 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 Signed-off-by: Richard Henderson --- diff --git a/target/sparc/insns.decode b/target/sparc/insns.decode index 77b2f54fdf9..242ec420161 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 ----- - ------------- } {