Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkFWZ-0006Lr-Mu for qemu-devel@nongnu.org; Thu, 19 Mar 2009 06:30:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkFWY-0006LP-OP for qemu-devel@nongnu.org; Thu, 19 Mar 2009 06:30:55 -0400 Received: from [199.232.76.173] (port=56322 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkFWY-0006LM-Ha for qemu-devel@nongnu.org; Thu, 19 Mar 2009 06:30:54 -0400 Received: from fg-out-1718.google.com ([72.14.220.155]:1825) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LkFWY-00013J-25 for qemu-devel@nongnu.org; Thu, 19 Mar 2009 06:30:54 -0400 Received: by fg-out-1718.google.com with SMTP id e21so32573fga.8 for ; Thu, 19 Mar 2009 03:30:52 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <49BF8A5B.7070706@siemens.com> <200903171251.41148.paul@codesourcery.com> Date: Thu, 19 Mar 2009 11:30:52 +0100 Message-ID: <761ea48b0903190330j663a388akf65fb78b9579ddb9@mail.gmail.com> Subject: Re: [Qemu-devel] Re: branches are expensive From: Laurent Desnogues Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 On Thu, Mar 19, 2009 at 11:07 AM, Steffen Liebergeld wrote: > > I've tested Qemu 0.10.0 and with i386-softmmu on a i386 host I get the > following numbers: > direct jump count 70%, 2 jumps 54% > > For qemu-system-arm on an ARM host, the numbers look like this: > direct jump count 47%, 2 jumps 40% > > For completeness I tested qemu-system-arm on a i386 host as well: > direct jump count 44%, 2 jumps 37% > > So it looks like the chaining on ARM targets is not as effective as on i386 > targets (regardless of the guest, I used the same guest setup, compiled for > different architectures, on all tests). Do you have any ideas why this is the > case? Different instruction sets, different compilers. You'd better compare guest code before drawing any conclusion. Laurent