Skip to content

two tcg improvements

Richard Henderson qemu-devel 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2tcg: Add TYPE parameter to tcg_out_mov.tcg/arm/tcg-target.c tcg/hppa/tcg-target.c tcg/i386/tcg-target.c +8 more+113 -1092 replies
2/2tcg: Use INDEX_op_qemu_ld32 for 32-bit results.tcg/tcg-op.h+8 -01 reply

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/2] two tcg improvements

The first patch allows the x86-64 port to avoid the REX.W prefix on moves, by allowing reg-reg moves to be typed just as reg-imm moves already are. This does require trivial changes to each port.

The second patch fixes an oversight in commit
86feb1c860dc38e9c89e787c5210e8191800385e
whereby I only modified the 32-bit host versions of the inline functions and not the 64-bit host versions. This is visible on x86-64 host with arm guest in that we unnecessarily emit some MOVSLQ insns instead of plain 32-bit MOV insns.

r~

Richard Henderson (2):
tcg: Add TYPE parameter to tcg_out_mov.
tcg: Use INDEX_op_qemu_ld32 for 32-bit results.

 tcg/arm/tcg-target.c    |    2 +-
 tcg/hppa/tcg-target.c   |   38 ++++++++++++++++++------------------
 tcg/i386/tcg-target.c   |   49 ++++++++++++++++++++++++-----------------------
 tcg/ia64/tcg-target.c   |    3 +-
 tcg/mips/tcg-target.c   |   28 +++++++++++++-------------
 tcg/ppc/tcg-target.c    |   48 +++++++++++++++++++++++-----------------------
 tcg/ppc64/tcg-target.c  |   10 ++++----
 tcg/s390/tcg-target.c   |    2 +-
 tcg/sparc/tcg-target.c  |   10 ++++----
 tcg/tcg-op.h            |    8 +++++++
 tcg/tcg.c               |   12 +++++-----
 tcg/x86_64/tcg-target.c |   20 ++++++++++--------
 12 files changed, 121 insertions(+), 109 deletions(-)