From: Herbert Xu Subject: Re: [PATCH] poly1305: generic C can be faster on chips with slow unaligned access Date: Thu, 3 Nov 2016 05:26:57 +0800 Message-ID: <20161102212657.GA26887@gondor.apana.org.au> References: <20161102175810.18647-1-Jason@zx2c4.com> <20161102200959.GA23297@gondor.apana.org.au> <20161102210802.GA26741@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "David S. Miller" , linux-crypto@vger.kernel.org, LKML , Martin Willi To: "Jason A. Donenfeld" Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org On Wed, Nov 02, 2016 at 10:25:00PM +0100, Jason A. Donenfeld wrote: > These architectures select HAVE_EFFICIENT_UNALIGNED_ACCESS: > > s390 arm arm64 powerpc x86 x86_64 > > So, these will use the original old code. What I'm interested in is whether the new code is sufficiently close in performance to the old code, particularonly on x86. I'd much rather only have a single set of code for all architectures. After all, this is meant to be a generic implementation. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt