All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Andi Kleen <ak@suse.de>
Cc: Christoph Hellwig <hch@infradead.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] AES for CryptoAPI - i586-optimized
Date: Tue, 8 Jul 2003 13:28:48 -0400	[thread overview]
Message-ID: <20030708172848.GA17115@gtf.org> (raw)
In-Reply-To: <p737k6tq6x0.fsf@oldwotan.suse.de>

On Tue, Jul 08, 2003 at 07:12:27PM +0200, Andi Kleen wrote:
> Christoph Hellwig <hch@infradead.org> writes:
> 
> > On Tue, Jul 08, 2003 at 05:27:55PM +0200, Fruhwirth Clemens wrote:
> > > 
> > > Due to the recent discussion about the asm-optimized version of AES which is
> > > included in loop-AES, I'd like to point out that I've ported this
> > > implementation - Dr. Brian Gladman's btw. - to CryptoAPI a long time ago.
> > 
> > Cool, that means we just need to hash out the framework for optimized
> > implementations now..
> 
> It's not cool. Pentium Classic tuning is quite useless for PPro+
> The Pentium Classic had a quite weird pipeline and code optimized
> for it tends to be suboptimal for more modern designs.
> 
> I didn't benchmark, but I suspect the C version compiled with a good compiler
> for the correct CPU is faster than that on a modern CPU.

I agree 100% with what you state here... but at the same time I was
thinking it would be nice to merge, mainly as an example of asm support
if nothing else.

We really need to see benchmarks before merging, too, to see (as you
state) if the C compiler still does a better job.

	Jeff




  reply	other threads:[~2003-07-08 17:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030708152755.GA24331@ghanima.endorphin.org.suse.lists.linux.kernel>
     [not found] ` <20030708174907.A18997@infradead.org.suse.lists.linux.kernel>
2003-07-08 17:12   ` [PATCH] AES for CryptoAPI - i586-optimized Andi Kleen
2003-07-08 17:28     ` Jeff Garzik [this message]
2003-07-08 19:16       ` Andi Kleen
2003-07-22  1:17 Jason Papadopoulos
  -- strict thread matches above, loose matches on Subject: below --
2003-07-08 15:27 Fruhwirth Clemens
2003-07-08 16:49 ` Christoph Hellwig

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=20030708172848.GA17115@gtf.org \
    --to=jgarzik@pobox.com \
    --cc=ak@suse.de \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.