Re: [Qemu-devel] [PATCH v5 08/18] exec: add tb_hash_func5, derived from xxhash

2016-05-17 Thread Emilio G. Cota
On Tue, May 17, 2016 at 20:22:52 +0300, Sergey Fedorov wrote: > On 14/05/16 06:34, Emilio G. Cota wrote: (snip) > > +static inline > > +uint32_t tb_hash_func5(uint64_t a0, uint64_t b0, uint32_t e) > > +{ > > +uint32_t v1 = TB_HASH_XX_SEED + PRIME32_1 + PRIME32_2; > > +uint32_t v2 = TB_HASH_

Re: [Qemu-devel] [PATCH v5 08/18] exec: add tb_hash_func5, derived from xxhash

2016-05-17 Thread Sergey Fedorov
On 14/05/16 06:34, Emilio G. Cota wrote: > 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. > > Reviewed-by: Richard Henderson > Signed-off-by: Emilio G. Cota > --- > include/exec/tb-hash-xx.h | 94 >

[Qemu-devel] [PATCH v5 08/18] exec: add tb_hash_func5, derived from xxhash

2016-05-13 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. Reviewed-by: Richard Henderson Signed-off-by: Emilio G. Cota --- include/exec/tb-hash-xx.h | 94 +++ 1 file chan