Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757483AbcKBVIK (ORCPT ); Wed, 2 Nov 2016 17:08:10 -0400 Received: from helcar.hengli.com.au ([209.40.204.226]:48093 "EHLO helcar.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756576AbcKBVIJ (ORCPT ); Wed, 2 Nov 2016 17:08:09 -0400 Date: Thu, 3 Nov 2016 05:08:02 +0800 From: Herbert Xu To: "Jason A. Donenfeld" Cc: "David S. Miller" , linux-crypto@vger.kernel.org, LKML , Martin Willi Subject: Re: [PATCH] poly1305: generic C can be faster on chips with slow unaligned access Message-ID: <20161102210802.GA26741@gondor.apana.org.au> References: <20161102175810.18647-1-Jason@zx2c4.com> <20161102200959.GA23297@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 676 Lines: 17 On Wed, Nov 02, 2016 at 10:06:39PM +0100, Jason A. Donenfeld wrote: > On Wed, Nov 2, 2016 at 9:09 PM, Herbert Xu wrote: > > Can you give some numbers please? What about other architectures > > that your patch impacts? > > Per [1], the patch gives a 181% speed up on MIPS32r2. > > [1] https://lists.zx2c4.com/pipermail/wireguard/2016-September/000398.html What about architectures? In particular, what if we just use your new code for all architectures. How much would we lose? Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt