From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRp4V-0007AO-3z for qemu-devel@nongnu.org; Tue, 27 Jan 2009 09:37:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRp4R-00078z-SI for qemu-devel@nongnu.org; Tue, 27 Jan 2009 09:37:46 -0500 Received: from [199.232.76.173] (port=49545 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRp4R-00078q-Nq for qemu-devel@nongnu.org; Tue, 27 Jan 2009 09:37:43 -0500 Received: from mail2.shareable.org ([80.68.89.115]:57188) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LRp4P-0000LX-V8 for qemu-devel@nongnu.org; Tue, 27 Jan 2009 09:37:42 -0500 Date: Tue, 27 Jan 2009 14:37:37 +0000 From: Jamie Lokier Subject: Re: [Qemu-devel] [PATCH] Enabled building of x86_64 code on Mac OS X Message-ID: <20090127143736.GA18646@shareable.org> References: <1232826287-18542-1-git-send-email-agraf@suse.de> <200901270034.04844.paul@codesourcery.com> <20090127004232.GE9296@shareable.org> <200901270059.21958.paul@codesourcery.com> <497E61DE.2080802@us.ibm.com> <497ED233.7010504@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <497ED233.7010504@suse.de> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paul Brook Alexander Graf wrote: > As for the plus in code size on x86_64 - that doesn't really apply to > tcg, as that still generates 32-bit code when only 32-bit code is > necessary, which still looks the same on x86_64. Plus it does simplify > 64-bit operations. TCG doesn't use the available x86_64 registers when generating code for 32-bit operations on an x86_64 host? > I would be very surprised if the improvement of emulating x86_64 on x86 > vs. x86_64 is only ~10%. So would I. By the way, with KVM, can QEMU (the I/O model) be a 32-bit app while the KVM kernel module provides an x86_64 CPU? That might be useful, if there are advantages to QEMU itself being 32-bit on MacOS X and if there's a KVM module for it. -- Jamie