target/sh4: misc fixes, cleanup and optimizations
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest15 patches 6 repliesIn review
- v214 patches 21 repliesSuperseded
- v114 patches 6 repliesSuperseded
Changes in v3 from the cover letter
- Use extr instead of extrh/extrl in gen_store_fpr64, as suggested by Richard Henderson
- Use cpu_loop_exit_restore instead of cpu_loop_exit/cpu_restore_state in superh_cpu_do_unaligned_access
- Add a patch to convert the remaining cpu_loop_exit/cpu_restore_state to cpu_loop_exit_restore
- Add Reviewed-by entries
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | target/sh4: split ctx->flags into ctx->tbflags and ctx->envflagstarget/ | +82 | 0 replies | |
| 2/15 | target/sh4: get rid of DELAY_SLOT_CLEARMEtarget/ target/ target/ | +6 | 0 replies | |
| 3/15 | target/sh4: do not include DELAY_SLOT_TRUE in the TB statetarget/ | +1 | 0 replies | |
| 4/15 | target/sh4: move DELAY_SLOT_TRUE flag into a separate globaltarget/ target/ target/ | +16 | 0 replies | |
| 5/15 | target/sh4: fix BS_STOP exittarget/ | +3 | 1 reply | |
| 6/15 | target/sh4: fix BS_EXCP exittarget/ | +7 | 0 replies | |
| 7/15 | target/sh4: only save flags state at the end of the TBtarget/ | +33 | 0 replies | |
| 8/15 | target/sh4: fold ctx->bstate = BS_BRANCH into gen_conditional_jumptarget/ | +3 | 1 reply | |
| 9/15 | target/sh4: optimize gen_store_fpr64target/ | +1 | 2 replies | |
| 10/15 | target/sh4: optimize gen_write_sr using extract optarget/ | +3 | 0 replies | |
| 11/15 | target/sh4: generate fences for SH4target/ | +5 | 0 replies | |
| 12/15 | target/sh4: implement tas.b using atomic helpertarget/ | +7 | 0 replies | |
| 13/15 | target/sh4: movua.l is an SH4-A only instructiontarget/ | +15 | 0 replies | |
| 14/15 | target/sh4: trap unaligned accessestarget/ target/ target/ +1 more | +25 | 1 reply | |
| 15/15 | target/sh4: use cpu_loop_exit_restoretarget/ | +2 | 1 reply |
Reviews trailers per patch
All 15 patches have a Reviewed-by or Acked-by.
| Patch | Philippe Mathieu-Daudé | Richard Henderson |
|---|---|---|
| 1/15 | R-b | R-b |
| 2/15 | R-b | R-b |
| 3/15 | R-b | R-b |
| 4/15 | R-b | |
| 5/15 | R-b | R-b |
| 6/15 | R-b | R-b |
| 7/15 | R-b | |
| 8/15 | R-b | R-b |
| 9/15 | R-b | R-b |
| 10/15 | R-b | R-b |
| 11/15 | R-b | R-b |
| 12/15 | R-b | |
| 13/15 | R-b | R-b |
| 14/15 | R-b | R-b |
| 15/15 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v3 00/15] target/sh4: misc fixes, cleanup and optimizations
This patch series try to improve the SH4 target by using the (more or less) recently introduced TCG features. It also fixes some issues spot when writting the patches (linking of TB with different flags, SH4-A specific instructions allowed on SH4) and correctly trap unaligned accesses.
v3:
- Use extr instead of extrh/extrl in gen_store_fpr64, as suggested by Richard Henderson
- Use cpu_loop_exit_restore instead of cpu_loop_exit/cpu_restore_state in superh_cpu_do_unaligned_access
- Add a patch to convert the remaining cpu_loop_exit/cpu_restore_state to cpu_loop_exit_restore
- Add Reviewed-by entries
v2:
- Add some comments in the struct DisasContext declaration, as suggested by Philippe Mathieu-Daudé
Aurelien Jarno (15):
target/sh4: split ctx->flags into ctx->tbflags and ctx->envflags target/sh4: get rid of DELAY_SLOT_CLEARME
target/sh4: do not include DELAY_SLOT_TRUE in the TB state target/sh4: move DELAY_SLOT_TRUE flag into a separate global target/sh4: fix BS_STOP exit
target/sh4: fix BS_EXCP exit
target/sh4: only save flags state at the end of the TB target/sh4: fold ctx->bstate = BS_BRANCH into gen_conditional_jump target/sh4: optimize gen_store_fpr64
target/sh4: optimize gen_write_sr using extract op target/sh4: generate fences for SH4
target/sh4: implement tas.b using atomic helper target/sh4: movua.l is an SH4-A only instruction target/sh4: trap unaligned accesses
target/sh4: use cpu_loop_exit_restore
target/sh4/cpu.c | 1 + target/sh4/cpu.h | 18 ++- target/sh4/helper.c | 4 +- target/sh4/op_helper.c | 26 ++-- target/sh4/translate.c | 322 +++++++++++++++++++++++-------------------------- 5 files changed, 181 insertions(+), 190 deletions(-)
Signature · 1 line
2.11.0