[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Ping: [PATCH 0/4] HVM: produce better binary code



>>> On 04.09.13 at 18:30, Tim Deegan <tim@xxxxxxx> 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. And the obvious benefit of moves is that interleaving them
with other code is less of a risk (in terms of breaking CPU-internal
bypasses/optimizations) than with pushes and pops.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.