Add some checks before translating instructions
Status from this message: Applied to loongarch-to-apply queue
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest posting 2/219 patches 1 replyApplied
- v5 posting 1/29 of 19 patches 1 replySuperseded
Changes in v5 from the cover letter
- Split 2 patches, extracting helpers
- R-b
Patches in v5 posting 2/2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | target/loongarch: Support LoongArch32 TLB entrytarget/ target/ | +17 | 0 replies | |
| 2/19 | target/loongarch: Support LoongArch32 DMWtarget/ target/ | +26 | 0 replies | |
| 3/19 | target/loongarch: Support LoongArch32 VPPNtarget/ target/ | +22 | 0 replies | |
| 4/19 | target/loongarch: Add LA64 & VA32 to DisasContexttarget/ target/ target/ | +18 | 0 replies | |
| 5/19 | target/loongarch: Extract make_address_x() helpertarget/ target/ target/ +1 more | +22 | 0 replies | |
| 6/19 | target/loongarch: Extract make_address_i() helpertarget/ target/ target/ +3 more | +29 | 0 replies | |
| 7/19 | target/loongarch: Extract make_address_pc() helpertarget/ target/ target/ | +8 | 0 replies | |
| 8/19 | target/loongarch: Extract set_pc() helpertarget/ target/ target/ +1 more | +16 | 0 replies | |
| 9/19 | target/loongarch: Truncate high 32 bits of address in VA32 modetarget/ target/ | +20 | 0 replies | |
| 10/19 | target/loongarch: Sign extend results in VA32 modetarget/ | +3 | 0 replies | |
| 11/19 | target/loongarch: Add a check parameter to the TRANS macrotarget/ target/ target/ +11 more | +903 | 0 replies | |
| 12/19 | target/loongarch: Add avail_64 to check la64-only instructionstarget/ target/ target/ +7 more | +152 | 0 replies | |
| 13/19 | target/loongarch: Add LoongArch32 cpu la132target/ | +30 | 0 replies | |
| 14/19 | hw/loongarch: Remove restriction of la464 cores in the virt machinehw/ | +0 | 0 replies | |
| 15/19 | target/loongarch: Add avail_FP/FP_SP/FP_DP to check fpu instructionstarget/ target/ target/ +4 more | +159 | 0 replies | |
| 16/19 | target/loongarch: Add avail_LSPW to check LSPW instructionstarget/ target/ | +9 | 0 replies | |
| 17/19 | target/loongarch: Add avail_LAM to check atomic instructionstarget/ target/ | +37 | 0 replies | |
| 18/19 | target/loongarch: Add avail_LSX to check LSX instructionstarget/ target/ | +780 | 0 replies | |
| 19/19 | target/loongarch: Add avail_IOCSR to check iocsr instructionstarget/ target/ | +9 | 0 replies |
Reviews trailers per patch
All 19 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson | Philippe Mathieu-Daudé | Jiajie Chen |
|---|---|---|---|
| 1/19 | R-b | ||
| 2/19 | R-b | ||
| 3/19 | R-b | ||
| 4/19 | R-b | ||
| 5/19 | Co-authored-by R-b | R-b | |
| 6/19 | Co-authored-by R-b | R-b | |
| 7/19 | R-b | R-b | |
| 8/19 | Co-authored-by R-b | R-b | |
| 9/19 | Co-authored-by R-b | R-b | |
| 10/19 | R-b | R-b | |
| 11/19 | R-b | R-b | |
| 12/19 | R-b | Co-authored-by | |
| 13/19 | A-b | R-b | |
| 14/19 | R-b | R-b | Co-authored-by |
| 15/19 | A-b | ||
| 16/19 | R-b | ||
| 17/19 | R-b | ||
| 18/19 | R-b | ||
| 19/19 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH RESEND v5 00/19] Add some checks before translating instructions
Based-on: https://patchew.org/QEMU/[email protected]/
(all series reviewed, for Song Gao to pick whichever v4/v5 is preferred)
Hi,
This series adds some checks before translating instructions
This includes:
CPUCFG[1].IOCSR
CPUCFG[2].FP
CPUCFG[2].FP_SP
CPUCFG[2].FP_DP
CPUCFG[2].LSPW
CPUCFG[2].LAM
CPUCFG[2].LSX
V5:
- Split 2 patches, extracting helpers
- R-b
V4:
- Rebase;
- Split patch 'Add LoongArch32 cpu la132' in two patch; (PMD)
- Remove unrelated cpucfgX;(PMD)
- R-b.
V3:
- Rebase;
- The la32 instructions following Table 2 at [2].
V2:
- Add a check parameter to the TRANS macro.
- remove TRANS_64.
- Add avail_ALL/64/FP/FP_SP/FP_DP/LSPW/LAM/LSX/IOCSR to check instructions.
[1]: https://patchew.org/QEMU/[email protected]/
[2]: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#overview-of-basic-integer-instructions
Jiajie Chen (11):
target/loongarch: Support LoongArch32 TLB entry target/loongarch: Support LoongArch32 DMW target/loongarch: Support LoongArch32 VPPN target/loongarch: Add LA64 & VA32 to DisasContext target/loongarch: Extract make_address_x() helper target/loongarch: Extract make_address_i() helper target/loongarch: Extract make_address_pc() helper target/loongarch: Extract set_pc() helper target/loongarch: Truncate high 32 bits of address in VA32 mode target/loongarch: Sign extend results in VA32 mode target/loongarch: Add LoongArch32 cpu la132
Song Gao (8):
target/loongarch: Add a check parameter to the TRANS macro target/loongarch: Add avail_64 to check la64-only instructions hw/loongarch: Remove restriction of la464 cores in the virt machine target/loongarch: Add avail_FP/FP_SP/FP_DP to check fpu instructions target/loongarch: Add avail_LSPW to check LSPW instructions target/loongarch: Add avail_LAM to check atomic instructions target/loongarch: Add avail_LSX to check LSX instructions target/loongarch: Add avail_IOCSR to check iocsr instructions
target/loongarch/cpu-csr.h | 22 +- target/loongarch/cpu.h | 22 + target/loongarch/translate.h | 19 +- hw/loongarch/virt.c | 5 - target/loongarch/cpu.c | 46 +- target/loongarch/gdbstub.c | 2 +- target/loongarch/op_helper.c | 4 +- target/loongarch/tlb_helper.c | 66 +- target/loongarch/translate.c | 46 + target/loongarch/insn_trans/trans_arith.c.inc | 98 +- .../loongarch/insn_trans/trans_atomic.c.inc | 85 +- target/loongarch/insn_trans/trans_bit.c.inc | 56 +- .../loongarch/insn_trans/trans_branch.c.inc | 27 +- target/loongarch/insn_trans/trans_extra.c.inc | 24 +- .../loongarch/insn_trans/trans_farith.c.inc | 96 +- target/loongarch/insn_trans/trans_fcmp.c.inc | 8 + target/loongarch/insn_trans/trans_fcnv.c.inc | 56 +- .../loongarch/insn_trans/trans_fmemory.c.inc | 62 +- target/loongarch/insn_trans/trans_fmov.c.inc | 52 +- target/loongarch/insn_trans/trans_lsx.c.inc | 1434 +++++++++-------- .../loongarch/insn_trans/trans_memory.c.inc | 118 +- .../insn_trans/trans_privileged.c.inc | 24 +- target/loongarch/insn_trans/trans_shift.c.inc | 34 +- 23 files changed, 1386 insertions(+), 1020 deletions(-)
Signature · 1 line
2.41.0