qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] simplify global register save/restore
@ 2010-02-10 23:26 Paolo Bonzini
  2010-02-10 23:26 ` [Qemu-devel] [PATCH 1/2] remove dead m68k global register definitions Paolo Bonzini
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Paolo Bonzini @ 2010-02-10 23:26 UTC (permalink / raw)
  To: qemu-devel

Since b567b38 (target-arm: remove T0 and T1, 2009-10-16) the only global
register that is actually used is AREG0, so the complexity of
hostregs_helper.h is unwarranted.

Let's just say that env should be the only global register.  AREG1 and
AREG2 in principle could still be used to work around bad register
allocation in GCC, so I'm leaving them in dyngen-exec.h.

Blue Swirl, can you check whether changing AREG0 to another register
in dyngen-exec.h would fix the "annoying glibc bugs mangling global
register variables"?  Or maybe we can remove the workaround altogether,
considering the bug was fixed in version 2.3 of glibc dated 2001-11-29
(at least that's what I'd guess from the history)?

Paolo Bonzini (2):
  remove dead m68k global register definitions
  get rid of hostregs_helper.h

 cpu-exec.c         |   15 +++++++-----
 hostregs_helper.h  |   61 ----------------------------------------------------
 qemu-common.h      |    2 +
 target-m68k/exec.h |    4 ---
 4 files changed, 11 insertions(+), 71 deletions(-)
 delete mode 100644 hostregs_helper.h

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

end of thread, other threads:[~2010-03-01 14:02 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-10 23:26 [Qemu-devel] [PATCH 0/2] simplify global register save/restore Paolo Bonzini
2010-02-10 23:26 ` [Qemu-devel] [PATCH 1/2] remove dead m68k global register definitions Paolo Bonzini
2010-02-10 23:26 ` [Qemu-devel] [PATCH 2/2] get rid of hostregs_helper.h Paolo Bonzini
2010-02-18 19:07   ` Blue Swirl
2010-02-18 20:25     ` [Qemu-devel] [PATCH v2 1/2] remove dead m68k definitions Paolo Bonzini
2010-02-18 20:25       ` [Qemu-devel] [PATCH v2 2/2] get rid of hostregs_helper.h Paolo Bonzini
2010-02-18 21:28         ` [Qemu-devel] " Blue Swirl
2010-02-25 11:40           ` Michael S. Tsirkin
2010-02-25 12:50             ` Paolo Bonzini
2010-02-25 13:04               ` Michael S. Tsirkin
2010-02-25 13:11                 ` Paolo Bonzini
2010-02-13 17:58 ` [Qemu-devel] [PATCH 0/2] simplify global register save/restore Blue Swirl
2010-02-13 20:26   ` [Qemu-devel] " Paolo Bonzini
2010-02-13 20:57     ` Blue Swirl
2010-02-13 20:58       ` Paolo Bonzini
2010-02-26 11:30 ` [Qemu-devel] " Paul Brook
2010-02-26 13:05   ` Paolo Bonzini
2010-02-26 18:32     ` Paul Brook
2010-03-01 12:30       ` Paolo Bonzini
2010-03-01 14:02         ` Paul Brook

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