[PATCH v2 0/7] target/sparc: Relax some decode for v7/v8

Richard Henderson posted 7 patches 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250905115128.376295-1-richard.henderson@linaro.org
Maintainers: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Artyom Tarasenko <atar4qemu@gmail.com>
target/sparc/translate.c  | 77 ++++++++++++++++++++----------------
target/sparc/insns.decode | 83 +++++++++++++++++++++++++--------------
2 files changed, 97 insertions(+), 63 deletions(-)
[PATCH v2 0/7] target/sparc: Relax some decode for v7/v8
Posted by Richard Henderson 1 day ago
Hi Mark,

I noticed a few other places where we probably want to
allow unused bits to be set and ignored for pre-v9.

Changes for v2:
  - Use TRANS() in the STBAR and RDY patches.
  - Apply the same relaxation for RDPSR, RDWIM, RDTBR.
  - Do not report illegal_instruction when unused bits
    are set in the rs2_or_imm field.

r~


Supercedes: 20250905051936.92815-1-richard.henderson@linaro.org

Richard Henderson (7):
  target/sparc: Allow TRANS macro with no extra arguments
  target/sparc: Loosen decode of STBAR for v8
  target/sparc: Loosen decode of RDY for v7
  target/sparc: Loosen decode of RDPSR for v7
  target/sparc: Loosen decode of RDWIM for v7
  target/sparc: Loosen decode of RDTBR for v7
  target/sparc: Relax decode of rs2_or_imm for v7

 target/sparc/translate.c  | 77 ++++++++++++++++++++----------------
 target/sparc/insns.decode | 83 +++++++++++++++++++++++++--------------
 2 files changed, 97 insertions(+), 63 deletions(-)

-- 
2.43.0