Re: [PATCH v3 2/2] arm64: crypto: add NEON accelerated XOR implementation

2018-11-29 Thread Dave Martin
On Thu, Nov 29, 2018 at 07:09:10PM +0100, Ard Biesheuvel wrote: > On Thu, 29 Nov 2018 at 18:00, Dave Martin wrote: > > > > On Tue, Nov 27, 2018 at 06:08:58PM +0800, Jackie Liu wrote: [...] > > > +static struct xor_block_template xor_block_arm64 = { > >

Re: [PATCH v3 2/2] arm64: crypto: add NEON accelerated XOR implementation

2018-11-29 Thread Dave Martin
On Tue, Nov 27, 2018 at 06:08:58PM +0800, Jackie Liu wrote: > This is a NEON acceleration method that can improve > performance by approximately 20%. I got the following > data from the centos 7.5 on Huawei's HISI1616 chip: > > [ 93.837726] xor: measuring software checksum speed > [ 93.874039] 8

Re: [PATCH v3 1/2] arm64/neon: add workaround for ambiguous C99 stdint.h types

2018-11-29 Thread Dave Martin
On Tue, Nov 27, 2018 at 06:08:57PM +0800, Jackie Liu wrote: > In a way similar to ARM commit 09096f6a0ee2 ("ARM: 7822/1: add workaround > for ambiguous C99 stdint.h types"), this patch redefines the macros that > are used in stdint.h so its definitions of uint64_t and int64_t are > compatible with