回复: [PATCH] hash: fix SSE comparison

2023-10-06 Thread Jieqiang Wang
; sta...@dpdk.org; Feifei Wang ; Ruifeng Wang 主题: Re: [PATCH] hash: fix SSE comparison On Wed, Sep 06, 2023 at 10:31:00AM +0800, Jieqiang Wang wrote: > __mm_cmpeq_epi16 returns 0x if the corresponding 16-bit elements > are equal. In original SSE2 implementation for function > compare_s

Re: [PATCH] hash: fix SSE comparison

2023-10-02 Thread Bruce Richardson
On Wed, Sep 06, 2023 at 10:31:00AM +0800, Jieqiang Wang wrote: > __mm_cmpeq_epi16 returns 0x if the corresponding 16-bit elements are > equal. In original SSE2 implementation for function compare_signatures, > it utilizes _mm_movemask_epi8 to create mask from the MSB of each 8-bit > element, wh

Re: [PATCH] hash: fix SSE comparison

2023-09-29 Thread David Marchand
On Wed, Sep 6, 2023 at 4:31 AM Jieqiang Wang wrote: > > __mm_cmpeq_epi16 returns 0x if the corresponding 16-bit elements are > equal. In original SSE2 implementation for function compare_signatures, > it utilizes _mm_movemask_epi8 to create mask from the MSB of each 8-bit > element, while we s

[PATCH] hash: fix SSE comparison

2023-09-05 Thread Jieqiang Wang
__mm_cmpeq_epi16 returns 0x if the corresponding 16-bit elements are equal. In original SSE2 implementation for function compare_signatures, it utilizes _mm_movemask_epi8 to create mask from the MSB of each 8-bit element, while we should only care about the MSB of lower 8-bit in each 16-bit ele