Translation loop conversion for sh4/sparc/mips/s390x/openrisc/riscv targets
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest18 patches 7 repliesIn review
- v217 patches 31 repliesSuperseded
- v114 patches 16 repliesSuperseded
Changes in v3 from the cover letter
- Rebase onto v2.12.0-rc4
- Add R-b's
- mips:
+ Fix comment typo s/intetrupt/interrupt/
+ Fixes suggested by Richard:
- use lookup_and_goto_ptr for BS_STOP (add a separate patch for this)
- use DISAS_NORETURN in generate_exception_err
- define and use DISAS_EXIT
- riscv:
+ Rename ctx->pc_tmp to ctx->pc_succ_insn, as suggested by Bastian.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | translator: merge max_insns into DisasContextBaseaccel/ include/ target/ +5 more | +27 | 1 reply | |
| 2/18 | target/sh4: convert to TranslatorOpstarget/ | +86 | 0 replies | |
| 3/18 | target/sparc: convert to DisasJumpTypetarget/ | +15 | 0 replies | |
| 4/18 | target/sparc: convert to DisasContextBasetarget/ | +45 | 0 replies | |
| 5/18 | target/sparc: convert to TranslatorOpstarget/ | +86 | 0 replies | |
| 6/18 | target/mips: use lookup_and_goto_ptr on BS_STOPtarget/ | +2 | 1 reply | |
| 7/18 | target/mips: convert to DisasJumpTypetarget/ | +93 | 2 replies | |
| 8/18 | target/mips: convert to DisasContextBasetarget/ | +175 | 0 replies | |
| 9/18 | target/mips: use *ctx for DisasContexttarget/ | +83 | 0 replies | |
| 10/18 | target/mips: convert to TranslatorOpstarget/ | +113 | 1 reply | |
| 11/18 | target/s390x: convert to DisasJumpTypetarget/ | +632 | 0 replies | |
| 12/18 | target/s390x: convert to DisasContextBasetarget/ | +76 | 0 replies | |
| 13/18 | target/s390x: convert to TranslatorOpstarget/ | +80 | 0 replies | |
| 14/18 | target/openrisc: convert to DisasContextBasetarget/ | +46 | 1 reply | |
| 15/18 | target/openrisc: convert to TranslatorOpstarget/ | +79 | 0 replies | |
| 16/18 | target/riscv: convert to DisasJumpTypetarget/ | +28 | 0 replies | |
| 17/18 | target/riscv: convert to DisasContextBasetarget/ | +64 | 0 replies | |
| 18/18 | target/riscv: convert to TranslatorOpstarget/ | +80 | 1 reply |
Reviews trailers per patch
All 18 patches have a Reviewed-by or Acked-by.
| Patch | Richard Henderson | Mark Cave-Ayland | Philippe Mathieu-Daudé | Cornelia Huck | David Hildenbrand | Bastian Koppelmann | Michael Clark |
|---|---|---|---|---|---|---|---|
| 1/18 | R-b | R-b | |||||
| 2/18 | R-b | ||||||
| 3/18 | R-b | ||||||
| 4/18 | R-b | ||||||
| 5/18 | R-b | T-b | |||||
| 6/18 | R-b | ||||||
| 7/18 | R-b | R-b | |||||
| 8/18 | R-b | R-b | |||||
| 9/18 | R-b | R-b | |||||
| 10/18 | R-b | ||||||
| 11/18 | R-b | A-b | R-b | ||||
| 12/18 | R-b | A-b | R-b | ||||
| 13/18 | R-b | A-b | R-b T-b | ||||
| 14/18 | R-b | R-b | |||||
| 15/18 | R-b | ||||||
| 16/18 | R-b | R-b | |||||
| 17/18 | R-b | ||||||
| 18/18 | R-b | 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 7 reviewers.
Cover letter [Qemu-devel] [PATCH v3 00/18] Translation loop conversion for sh4/sparc/mips/s390x/openrisc/riscv targets
v2: https://lists.nongnu.org/archive/html/qemu-devel/2018-04/msg00837.html
Changes from v2:
- Rebase onto v2.12.0-rc4
- Add R-b's
- mips:
+ Fix comment typo s/intetrupt/interrupt/
+ Fixes suggested by Richard:
- use lookup_and_goto_ptr for BS_STOP (add a separate patch for this)
- use DISAS_NORETURN in generate_exception_err
- define and use DISAS_EXIT
- riscv:
+ Rename ctx->pc_tmp to ctx->pc_succ_insn, as suggested by Bastian.
You can fetch the tree from:
https://github.com/cota/qemu/tree/trloop-conv-v3
Note that the changes in this series depend on this other branch:
https://github.com/cota/qemu/tree/next_page_overflow-r-b
Thanks,
Emilio
--- accel/tcg/translator.c | 21 +- include/exec/translator.h | 8 +- target/alpha/translate.c | 6 +- target/arm/translate-a64.c | 8 +- target/arm/translate.c | 9 +- target/hppa/translate.c | 7 +- target/i386/translate.c | 5 +- target/mips/translate.c | 625 ++++++++++---------- target/openrisc/translate.c | 226 ++++---- target/ppc/translate.c | 5 +- target/riscv/translate.c | 255 ++++----- target/s390x/translate.c | 1529 ++++++++++++++++++++++++------------------------- target/sh4/translate.c | 171 +++--- target/sparc/translate.c | 207 ++++--- 14 files changed, 1524 insertions(+), 1558 deletions(-)