qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination
@ 2011-05-14 19:35 Blue Swirl
  2011-05-14 21:16 ` Aurelien Jarno
  0 siblings, 1 reply; 31+ messages in thread
From: Blue Swirl @ 2011-05-14 19:35 UTC (permalink / raw)
  To: qemu-devel

Here's a RFC series for eliminating AREG0.

Blue Swirl (11):
  Move user emulator stuff from cpu-exec.c to user-exec.c
  Delete unused tb_invalidate_page_range

The above should be OK to commit.

  cpu_loop_exit: avoid using AREG0
  Delegate setup of TCG temporaries to targets

These two are not, unless the overall plan is OK.

  TCG: fix negative frame offset calculations
  TCG/x86: use stack for TCG temps
  TCG/Sparc64: use stack for TCG temps

But these three should be OK. I've tested lightly x86_64 and Sparc64 hosts.

  Add CONFIG_TARGET_NEEDS_AREG0
  Don't compile legacy qemu_ld/st functions if target doesn't need them

Should be OK, though the latter patch only touches x86.

  Add new qemu_ld and qemu_st functions
  sparc: use new qemu_ld and qemu_st functions

The last two compile but QEMU segfaults. I just made a naive
conversion for getting comments.

 Makefile.target               |   14 +-
 configure                     |    6 +
 cpu-exec.c                    |  647 +----------------------------------------
 dyngen-exec.h                 |    2 +
 exec-all.h                    |    3 +-
 hw/alpha_palcode.c            |    2 +-
 linux-user/main.c             |   22 +--
 target-alpha/op_helper.c      |    4 +-
 target-arm/op_helper.c        |    6 +-
 target-cris/op_helper.c       |    4 +-
 target-i386/op_helper.c       |   16 +-
 target-lm32/op_helper.c       |    6 +-
 target-m68k/op_helper.c       |    6 +-
 target-microblaze/op_helper.c |    4 +-
 target-mips/op_helper.c       |    4 +-
 target-ppc/op_helper.c        |    3 +-
 target-sh4/op_helper.c        |   10 +-
 target-sparc/helper.h         |    1 -
 target-sparc/op_helper.c      |   12 +-
 target-sparc/translate.c      |    5 +-
 target-unicore32/op_helper.c  |    2 +-
 tcg/arm/tcg-target.c          |    2 +
 tcg/arm/tcg-target.h          |    4 +
 tcg/hppa/tcg-target.c         |    2 +
 tcg/hppa/tcg-target.h         |    4 +
 tcg/i386/tcg-target.c         |   62 +++--
 tcg/i386/tcg-target.h         |    4 +
 tcg/ia64/tcg-target.c         |    2 +
 tcg/ia64/tcg-target.h         |    4 +
 tcg/mips/tcg-target.c         |    2 +
 tcg/mips/tcg-target.h         |    4 +
 tcg/ppc/tcg-target.c          |    2 +
 tcg/ppc/tcg-target.h          |    4 +
 tcg/ppc64/tcg-target.c        |    2 +
 tcg/ppc64/tcg-target.h        |    4 +
 tcg/s390/tcg-target.c         |    2 +
 tcg/s390/tcg-target.h         |    4 +
 tcg/sparc/tcg-target.c        |    5 +-
 tcg/sparc/tcg-target.h        |    4 +
 tcg/tcg-op.h                  |   49 +++
 tcg/tcg-opc.h                 |    3 +
 tcg/tcg.c                     |   12 +-
 translate-all.c               |    2 -
 user-exec.c                   |  645 ++++++++++++++++++++++++++++++++++++++++
 44 files changed, 866 insertions(+), 741 deletions(-)
 create mode 100644 user-exec.c

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

end of thread, other threads:[~2011-05-15 14:11 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-14 19:35 [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination Blue Swirl
2011-05-14 21:16 ` Aurelien Jarno
2011-05-14 21:52   ` Blue Swirl
2011-05-14 22:04     ` Aurelien Jarno
2011-05-15  7:15       ` Blue Swirl
2011-05-15  9:24         ` Aurelien Jarno
2011-05-15  9:58           ` Blue Swirl
2011-05-15 10:19             ` Aurelien Jarno
2011-05-15 11:12               ` Blue Swirl
2011-05-15 11:36                 ` Aurelien Jarno
2011-05-15 12:30                   ` Blue Swirl
2011-05-15 12:49                     ` Aurelien Jarno
2011-05-15 13:16                       ` Blue Swirl
2011-05-15 13:43                         ` Aurelien Jarno
2011-05-15 14:02                           ` Blue Swirl
2011-05-15 14:06                             ` Aurelien Jarno
2011-05-15 14:10                               ` Blue Swirl
2011-05-15  9:27         ` Laurent Desnogues
2011-05-15  9:49           ` Aurelien Jarno
2011-05-15 11:03           ` Blue Swirl
2011-05-15 11:14             ` Aurelien Jarno
2011-05-15 11:33               ` Blue Swirl
2011-05-15 11:37                 ` Aurelien Jarno
2011-05-15 12:33                   ` Blue Swirl
2011-05-15 12:14                 ` Laurent Desnogues
2011-05-15 12:37                   ` Blue Swirl
2011-05-15 13:02                     ` Aurelien Jarno
2011-05-15 13:42                       ` Blue Swirl
2011-05-15 14:03                         ` Aurelien Jarno
2011-05-15 14:06                           ` Blue Swirl
2011-05-14 23:31   ` Aurelien Jarno

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