Re: [PATCH 2/2] SHA1 transform: x86_64 AVX2 optimization - glue & build-v2

2014-03-17 Thread chandramouli narayanan
On Mon, 2014-03-17 at 19:11 +0100, Marek Vasut wrote: > On Monday, March 17, 2014 at 05:53:52 PM, chandramouli narayanan wrote: > > On Mon, 2014-03-17 at 17:06 +0100, Marek Vasut wrote: > > > On Monday, March 17, 2014 at 04:53:12 PM, chandramouli narayanan wrote: > > > > On Fri, 2014-03-14 at 06:40

Re: [PATCH 2/2] SHA1 transform: x86_64 AVX2 optimization - glue & build-v2

2014-03-17 Thread Marek Vasut
On Monday, March 17, 2014 at 05:53:52 PM, chandramouli narayanan wrote: > On Mon, 2014-03-17 at 17:06 +0100, Marek Vasut wrote: > > On Monday, March 17, 2014 at 04:53:12 PM, chandramouli narayanan wrote: > > > On Fri, 2014-03-14 at 06:40 +0100, Marek Vasut wrote: > > > > On Wednesday, March 12, 201

Re: [PATCH 2/2] SHA1 transform: x86_64 AVX2 optimization - glue & build-v2

2014-03-17 Thread H. Peter Anvin
On 03/17/2014 09:53 AM, chandramouli narayanan wrote: > On second thoughts, with sha1-sse3-(CONFIG_AS_AVX2) += > sha1_avx2_x86_64_asm.o, I have build issues and sha1_transform_avx2 > undefined in sha1-sss3.ko. > > I can rid #ifdef CONFIG_AS_AVX2 in patch1. The following works though: > ifeq ($(av

Re: [PATCH 2/2] SHA1 transform: x86_64 AVX2 optimization - glue & build-v2

2014-03-17 Thread chandramouli narayanan
On Mon, 2014-03-17 at 17:06 +0100, Marek Vasut wrote: > On Monday, March 17, 2014 at 04:53:12 PM, chandramouli narayanan wrote: > > On Fri, 2014-03-14 at 06:40 +0100, Marek Vasut wrote: > > > On Wednesday, March 12, 2014 at 07:47:50 PM, chandramouli narayanan wrote: > > > > This git patch adds the

Re: [PATCH 2/2] SHA1 transform: x86_64 AVX2 optimization - glue & build-v2

2014-03-17 Thread Marek Vasut
On Monday, March 17, 2014 at 04:53:12 PM, chandramouli narayanan wrote: > On Fri, 2014-03-14 at 06:40 +0100, Marek Vasut wrote: > > On Wednesday, March 12, 2014 at 07:47:50 PM, chandramouli narayanan wrote: > > > This git patch adds the glue, build and configuration changes > > > to include x86_64

Re: [PATCH 2/2] SHA1 transform: x86_64 AVX2 optimization - glue & build-v2

2014-03-17 Thread chandramouli narayanan
On Fri, 2014-03-14 at 06:40 +0100, Marek Vasut wrote: > On Wednesday, March 12, 2014 at 07:47:50 PM, chandramouli narayanan wrote: > > This git patch adds the glue, build and configuration changes > > to include x86_64 AVX2 optimization of SHA1 transform to > > crypto support. The patch has been te

Re: [PATCH 2/2] SHA1 transform: x86_64 AVX2 optimization - glue & build-v2

2014-03-13 Thread Marek Vasut
On Wednesday, March 12, 2014 at 07:47:50 PM, chandramouli narayanan wrote: > This git patch adds the glue, build and configuration changes > to include x86_64 AVX2 optimization of SHA1 transform to > crypto support. The patch has been tested with 3.14.0-rc1 > kernel. > > Changes from the initial v

[PATCH 2/2] SHA1 transform: x86_64 AVX2 optimization - glue & build-v2

2014-03-12 Thread chandramouli narayanan
This git patch adds the glue, build and configuration changes to include x86_64 AVX2 optimization of SHA1 transform to crypto support. The patch has been tested with 3.14.0-rc1 kernel. Changes from the initial version of this patch are in a) check for BMI2 in addition to AVX2 support since __sha1_