qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] tcg cleanups, part 4
@ 2010-06-03  0:26 Richard Henderson
  2010-06-03  0:26 ` [Qemu-devel] [PATCH 1/2] tcg: Add TYPE parameter to tcg_out_mov Richard Henderson
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Richard Henderson @ 2010-06-03  0:26 UTC (permalink / raw)
  To: qemu-devel; +Cc: aurelien

The tcg_out_mov patch you've seen before, but now contains a
TCG_TYPE_REG that should address the concerns you had with 
the changes to the sparc port.  It's also been updated to HEAD
to reflect the changes in tcg/i386.

The second patch is new.


r~



Richard Henderson (2):
  tcg: Add TYPE parameter to tcg_out_mov.
  tcg: Make some tcg-target.c routines static.

 tcg/arm/tcg-target.c    |    6 ++--
 tcg/hppa/tcg-target.c   |   42 +++++++++++++++++++-------------------
 tcg/i386/tcg-target.c   |   40 ++++++++++++++++++------------------
 tcg/ia64/tcg-target.c   |    7 +++--
 tcg/mips/tcg-target.c   |   32 ++++++++++++++--------------
 tcg/ppc/tcg-target.c    |   52 +++++++++++++++++++++++-----------------------
 tcg/ppc64/tcg-target.c  |   14 ++++++------
 tcg/s390/tcg-target.c   |    6 ++--
 tcg/sparc/tcg-target.c  |   14 ++++++------
 tcg/tcg.c               |   14 +++++++-----
 tcg/tcg.h               |   14 ++++++++----
 tcg/x86_64/tcg-target.c |   49 ++++++++++++++++++--------------------------
 12 files changed, 144 insertions(+), 146 deletions(-)

^ permalink raw reply	[flat|nested] 16+ messages in thread
* [Qemu-devel] [PATCH 0/2] two tcg improvements
@ 2010-05-03 23:30 Richard Henderson
  2010-05-03 23:30 ` [Qemu-devel] [PATCH 1/2] tcg: Add TYPE parameter to tcg_out_mov Richard Henderson
  0 siblings, 1 reply; 16+ messages in thread
From: Richard Henderson @ 2010-05-03 23:30 UTC (permalink / raw)
  To: qemu-devel

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(-)

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-06-09 22:18 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-03  0:26 [Qemu-devel] [PATCH 0/2] tcg cleanups, part 4 Richard Henderson
2010-06-03  0:26 ` [Qemu-devel] [PATCH 1/2] tcg: Add TYPE parameter to tcg_out_mov Richard Henderson
2010-06-04 19:19   ` Blue Swirl
2010-06-04 19:34     ` Richard Henderson
2010-06-03  0:26 ` [Qemu-devel] [PATCH 2/2] tcg: Make some tcg-target.c routines static Richard Henderson
2010-06-03  9:23 ` [Qemu-devel] [PATCH 0/2] tcg cleanups, part 4 malc
2010-06-04  0:35 ` [Qemu-devel] [PATCH 0/2] tcg-i386: merge 64-bit, guest_base improvement Richard Henderson
2010-06-04  0:35   ` [Qemu-devel] [PATCH 1/2] tcg-i386: Merge 64-bit generation Richard Henderson
2010-06-09 22:18     ` Aurelien Jarno
2010-06-04  0:35   ` [Qemu-devel] [PATCH 2/2] tcg-i386: Use segment registers to implement GUEST_BASE Richard Henderson
2010-06-04  6:35     ` Alexander Graf
2010-06-07 19:45       ` Richard Henderson
2010-06-09  9:42 ` [Qemu-devel] [PATCH 0/2] tcg cleanups, part 4 Aurelien Jarno
  -- strict thread matches above, loose matches on Subject: below --
2010-05-03 23:30 [Qemu-devel] [PATCH 0/2] two tcg improvements Richard Henderson
2010-05-03 23:30 ` [Qemu-devel] [PATCH 1/2] tcg: Add TYPE parameter to tcg_out_mov Richard Henderson
2010-05-28 18:21   ` Aurelien Jarno
2010-05-28 21:35     ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).