qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 17/27] tcg-ppc64: Implement bswap64


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH v3 17/27] tcg-ppc64: Implement bswap64
Date: Tue, 2 Apr 2013 16:41:29 +0200


Am 02.04.2013 um 15:44 schrieb Richard Henderson <address@hidden>:

> On 2013-04-01 23:34, Alexander Graf wrote:
>> Is this faster than a load/store with std/ldbrx?
> 
> Hmm.  Almost certainly not.  And since we've got stack space
> allocated for function calls, we've got scratch space to do it in.
> 
> Probably similar for bswap32 too, eh?

Depends - memory load/store doesn't come for free and bswap32 is quite short.

> 
> I'll do a tiny bit o benchmarking for power7.

Cool, thanks a bunch :)

Alex

> 
> 
> r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]