From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NgP3N-0007Er-Qf for qemu-devel@nongnu.org; Sat, 13 Feb 2010 15:57:25 -0500 Received: from [199.232.76.173] (port=58406 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NgP3N-0007Ej-Gu for qemu-devel@nongnu.org; Sat, 13 Feb 2010 15:57:25 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NgP3M-0000Cp-Fr for qemu-devel@nongnu.org; Sat, 13 Feb 2010 15:57:25 -0500 Received: from mail-px0-f192.google.com ([209.85.216.192]:55893) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NgP3M-0000Cb-73 for qemu-devel@nongnu.org; Sat, 13 Feb 2010 15:57:24 -0500 Received: by pxi30 with SMTP id 30so198855pxi.23 for ; Sat, 13 Feb 2010 12:57:23 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <4B770B02.4030409@gnu.org> References: <1265844362-29836-1-git-send-email-pbonzini@redhat.com> <4B770B02.4030409@gnu.org> From: Blue Swirl Date: Sat, 13 Feb 2010 22:57:03 +0200 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Re: [PATCH 0/2] simplify global register save/restore List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On Sat, Feb 13, 2010 at 10:26 PM, Paolo Bonzini wrote: > On 02/13/2010 06:58 PM, Blue Swirl wrote: >> >> V9 ABI gives more registers to application use. > > Except that glibc uses those---in theory, as I see it, it should be compi= led > with fixed g2 and g3 to leave them to the application. =C2=A0I get it now= . > > It may be possible to make the workaround a big less ugly (I'm thinking o= f > avoiding #undef/#define by using assembly). =C2=A0I made a patch (see att= achment, > just FYI), maybe sometime I'll try it using self-virtualized qemu. Yes, that's much better.