Skip to content

target-alpha PALcode improvements

Richard Henderson qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target-alpha: Use separate TCGv temporaries for the shadow registerstarget-alpha/cpu.h target-alpha/gdbstub.c target-alpha/helper.c +3 more+134 -1030 replies
2/3target-alpha: Inline call_paltarget-alpha/helper.h target-alpha/sys_helper.c target-alpha/translate.c+24 -180 replies
3/3target-alpha: Inline hw_rettarget-alpha/helper.h target-alpha/sys_helper.c target-alpha/translate.c+10 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] target-alpha PALcode improvements

Rather than copying around a block of 8 registers when we swap modes, let the translator map code generated for PALmode to the shadow regs directly. This simplifies PALmode entry and exit sufficiently to allow these insns to be performed inline.

Sadly, the speedup for this is in the noise. But I still think it makes sense.

r~

Richard Henderson (3):
target-alpha: Use separate TCGv temporaries for the shadow registers
target-alpha: Inline call_pal
target-alpha: Inline hw_ret

 target-alpha/cpu.h        |   3 +-
 target-alpha/gdbstub.c    |   4 +-
 target-alpha/helper.c     |  63 ++++++---------
 target-alpha/helper.h     |   3 -
 target-alpha/machine.c    |   4 +-
 target-alpha/sys_helper.c |  22 -----
 target-alpha/translate.c  | 201 ++++++++++++++++++++++++++++++----------------
 7 files changed, 166 insertions(+), 134 deletions(-)
Signature · 1 line
2.1.0