From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NgP46-0007an-8F for qemu-devel@nongnu.org; Sat, 13 Feb 2010 15:58:10 -0500 Received: from [199.232.76.173] (port=58414 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NgP45-0007aG-Mn for qemu-devel@nongnu.org; Sat, 13 Feb 2010 15:58:09 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NgP44-0000LG-VL for qemu-devel@nongnu.org; Sat, 13 Feb 2010 15:58:09 -0500 Received: from mail-fx0-f223.google.com ([209.85.220.223]:60197) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NgP44-0000LA-MH for qemu-devel@nongnu.org; Sat, 13 Feb 2010 15:58:08 -0500 Received: by fxm23 with SMTP id 23so2495063fxm.22 for ; Sat, 13 Feb 2010 12:58:07 -0800 (PST) Sender: Paolo Bonzini Message-ID: <4B77125D.3000205@gnu.org> Date: Sat, 13 Feb 2010 21:58:05 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1265844362-29836-1-git-send-email-pbonzini@redhat.com> <4B770B02.4030409@gnu.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: Blue Swirl Cc: qemu-devel@nongnu.org On 02/13/2010 09:57 PM, Blue Swirl wrote: > 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 compiled >> with fixed g2 and g3 to leave them to the application. I get it now. >> >> It may be possible to make the workaround a big less ugly (I'm thinking of >> avoiding #undef/#define by using assembly). I made a patch (see attachment, >> just FYI), maybe sometime I'll try it using self-virtualized qemu. > > Yes, that's much better. If it works. :-) Paolo