On Wed, Jun 04, 2014 at 04:32:21PM -0700, Jarno Rajahalme wrote:
> Use CRC32 intrinsics for hash computations when building for
> X86_64 with SSE4_2.
> 
> Signed-off-by: Jarno Rajahalme <jrajaha...@nicira.com>

Did you consider using __builtin_constant_p() to inline the hash
computation only when the number of words is a constant?  (On MSVC,
which doesn't have __builtin_constant_p(), you could default to always
inlining or never inlining, since this is not a correctness issue.)
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to