From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Deegan Subject: Re: Ping: [PATCH 0/4] HVM: produce better binary code Date: Thu, 5 Sep 2013 08:58:29 +0100 Message-ID: <20130905075829.GA63530@ocelot.phlegethon.org> References: <521786A002000078000EE064@nat28.tlf.novell.com> <5227223902000078000F048E@nat28.tlf.novell.com> <52275CEC.7000308@citrix.com> <20130904163044.GB48901@ocelot.phlegethon.org> <5228544E02000078000F0AC6@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VHUSe-0007md-Vk for xen-devel@lists.xenproject.org; Thu, 05 Sep 2013 07:58:41 +0000 Content-Disposition: inline In-Reply-To: <5228544E02000078000F0AC6@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Eddie Dong , Andrew Cooper , Jacob Shin , Jun Nakajima , xen-devel , Boris Ostrovsky , suravee.suthikulpanit@amd.com List-Id: xen-devel@lists.xenproject.org At 08:52 +0100 on 05 Sep (1378371134), Jan Beulich wrote: > >>> On 04.09.13 at 18:30, Tim Deegan wrote: > > I'm not certain, on a modern CPU, whether it's better to issue a series > > of PUSHes or a series of %rsp-relative MOVs and a SUB. > > When I did the push/pop -> mov conversion for the non-HVM code > I did some measurements, with the result that the sequence of > moves was never slower but sometimes (usually on older CPUs) > faster. Ah, excellent! Tim.