[131503] in cryptography@c2.net mail archive

home help back first fref pref prev next nref lref last post

Re:5x speedup for AES using SSE5?

daemon@ATHENA.MIT.EDU (Eric Young)
Sun Aug 24 22:52:51 2008

Date: Mon, 25 Aug 2008 09:58:19 +1000
From: Eric Young <eay@pobox.com>
To: Paul Crowley <paul@ciphergoth.org>
CC: cryptography@metzdowd.com
In-Reply-To: <48B0E726.1020004@pobox.com>

Eric Young wrote:
> I've not looked at it enough yet, but currently I'm doing an AES round
> in about 140 cycles a block (call it 13 per round plus overhead) on a
> AMD64, (220e6 bytes/sec on a 2ghz cpu) using normal instructions. 
Urk, correction, I forgot I've recently upgraded from a 2ghz machine to
2.5ghz.
So that should read about 182 cycles per block, and 18 cycles per round.
I though the number seems strange :-(.  I tent to always quote numbers
from a 2-3 second run encrypting a 4k buffer, not a machine cycle
counter over one or two blocks, so I leave myself open to this kind of
error :-(

Still, looking further at the various SSE5 instructions, I'm having
difficultly seeing how
to avoid instruction dependencies when using the SIMD instructions
(specifically using PPERM to implement the sbox).

eric

---------------------------------------------------------------------
The Cryptography Mailing List
Unsubscribe by sending "unsubscribe cryptography" to majordomo@metzdowd.com

home help back first fref pref prev next nref lref last post