mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Herbert Xu <herbert@gondor.apana.org.au>
To: Denis Vlasenko <vda@ilport.com.ua>
Cc: linux-crypto@vger.kernel.org, davem@davemloft.net,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/5] 2.wp.patch
Date: Sun, 3 Jul 2005 21:42:28 +1000	[thread overview]
Message-ID: <20050703114228.GC4848@gondor.apana.org.au> (raw)
In-Reply-To: <200506201400.16725.vda@ilport.com.ua>

On Mon, Jun 20, 2005 at 02:00:16PM +0300, Denis Vlasenko wrote:
>  
> +#if 1
> + #define X(a) a ^=
> + #define XEND ;
> +#else
> +/* gcc -O2 (3.4.3) optimizer bug:
> +** this will cause excessive spills (~3K stack used)
> +** See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21141 */
> + #define X(a) ^
> + #define XEND
> +#endif

Well if we're going to work around this at all then let's
use the work around code unconditionally.  Is it that much
worse than the original?

> @@ -979,7 +989,7 @@ static void wp512_process_buffer(struct 
>  	wctx->hash[7] ^= state[7] ^ block[7];
>  }
>  
> -static void wp512_init (void *ctx) {
> +static void wp512_init(void *ctx) {
>  	int i;
>  	struct wp512_ctx *wctx = ctx;

Feel free to fix up white space problems, but do it in a separate patch.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

      reply	other threads:[~2005-07-03 11:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-20 11:00 Denis Vlasenko
2005-07-03 11:42 ` Herbert Xu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050703114228.GC4848@gondor.apana.org.au \
    --to=herbert@gondor.apana.org.au \
    --cc=davem@davemloft.net \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vda@ilport.com.ua \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®