[Qemu-devel] [PATCH 00/14] target/sh4: misc fixes, cleanup and optimizations

Aurelien Jarno posted 14 patches 6 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170501221046.9369-1-aurelien@aurel32.net
Test checkpatch passed
Test docker passed
Test s390x passed
There is a newer version of this series
target/sh4/cpu.c       |   1 +
target/sh4/cpu.h       |  18 ++-
target/sh4/helper.c    |   4 +-
target/sh4/op_helper.c |  19 +++
target/sh4/translate.c | 323 ++++++++++++++++++++++++-------------------------
5 files changed, 183 insertions(+), 182 deletions(-)
[Qemu-devel] [PATCH 00/14] target/sh4: misc fixes, cleanup and optimizations
Posted by Aurelien Jarno 6 years, 11 months ago
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.

Aurelien Jarno (14):
  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/cpu.c       |   1 +
 target/sh4/cpu.h       |  18 ++-
 target/sh4/helper.c    |   4 +-
 target/sh4/op_helper.c |  19 +++
 target/sh4/translate.c | 323 ++++++++++++++++++++++++-------------------------
 5 files changed, 183 insertions(+), 182 deletions(-)

-- 
2.11.0