RFC Fix some TCG RISC-V backend bugs
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tcg/riscv: Fix base regsiter for qemu_ld/sttcg/ | +4 | 5 replies | |
| 2/3 | tcg/riscv: Fix tcg_out_opc_imm when imm exceedstcg/ | +23 | 4 replies | |
| 3/3 | tcg/riscv: Remove a wrong optimization for addsub2tcg/ | +0 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/3] Fix some TCG RISC-V backend bugs
This patch set fix some bugs in RISC-V backend. It includes:
1. guest regiser using bug in tcg_out_qemu_ld and tcg_out_qemu_st
2. immediate range bug in tcg_out_opc_imm
3. a wrong optimization in tcg_out_addsub2
After this patch set, I can run the 400.perlbench case(spec2006-simple). Besides, it seems that we can also run RISU on qemu-aarch64(risc-v) now.
I try to run RISU on qemu-aarch64(x86) and qemu-aarch64(risc-v). But this caused an segment fault. And it's confusing that RISU running on two qemu-aarch64(x86-64) also caused a segment fault.
LIU Zhiwei (3):
tcg/riscv: Fix base regsiter for qemu_ld/st tcg/riscv: Fix tcg_out_opc_imm when imm exceeds tcg/riscv: Remove a wrong optimization for addsub2
tcg/riscv/tcg-target.c.inc | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-)
Signature · 1 line
2.25.1