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