Re: [Qemu-devel] [PATCH v2 09/13] exec: add tb_hash_func5, derived from xxhash

2016-04-08 Thread Richard Henderson
On 04/07/2016 10:32 AM, Emilio G. Cota wrote: > +#include Should already be done by > +/* > + * Note : although _rotl exists for minGW (GCC under windows), performance > + * seems poor. > + */ > +#if defined(_MSC_VER) > +# define XXH_rotl32(x, r) _rotl(x, r) > +#else > +# define

[Qemu-devel] [PATCH v2 09/13] exec: add tb_hash_func5, derived from xxhash

2016-04-07 Thread Emilio G. Cota
This will be used by upcoming changes for hashing the tb hash. Add this into a separate file to include the copyright notice from xxhash. Signed-off-by: Emilio G. Cota --- include/exec/tb-hash-xx.h | 103 ++ 1 file changed, 103