[ovs-discuss] [PATCH net-next] fast_hash: clobber registers correctly for inline function use

David Miller davem at davemloft.net
Fri Nov 14 21:35:25 UTC 2014


From: Hannes Frederic Sowa <hannes at stressinduktion.org>
Date: Fri, 14 Nov 2014 21:42:13 +0100

> On Fr, 2014-11-14 at 11:02 -0800, Cong Wang wrote:
>> 
>> I am wondering, compare with alternative call, how slower is just
>> testing
>> cpu_has_xmm4_2?
> 
> I can test, but cpu_has_xmm4_2 expands into quite some code. I don't
> know if indirect function call or a test of this flag is faster. I'll
> test this.

I'm going to apply Jay's revert, and then you guys can take your time
sorting this out.



More information about the discuss mailing list