Re: [EXTERNAL] [PATCH v7 2/4] hash: optimize compare signature for NEON

2024-04-11 Thread Yoan Picchi
On 3/20/24 07:37, Pavan Nikhilesh Bhagavatula wrote: Upon a successful comparison, NEON sets all the bits in the lane to 1 We can skip shifting by simply masking with specific masks. Signed-off-by: Yoan Picchi Reviewed-by: Ruifeng Wang Reviewed-by: Nathan Brown --- lib/hash/arch/arm/compare

RE: [EXTERNAL] [PATCH v7 2/4] hash: optimize compare signature for NEON

2024-03-20 Thread Pavan Nikhilesh Bhagavatula
> Upon a successful comparison, NEON sets all the bits in the lane to 1 > We can skip shifting by simply masking with specific masks. > > Signed-off-by: Yoan Picchi > Reviewed-by: Ruifeng Wang > Reviewed-by: Nathan Brown > --- > lib/hash/arch/arm/compare_signatures.h | 24 +++--