[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Monotone-devel] Fast SSSE3 based SHA-1 by Intel
From: |
Locktyukhin, Maxim |
Subject: |
RE: [Monotone-devel] Fast SSSE3 based SHA-1 by Intel |
Date: |
Thu, 3 Jun 2010 14:13:02 -0700 |
Jack - hi, no problem, at least for 64-bit I suggest you take the code as is
(hopefully NASM syntax works for you), as it has micro-architectural
performance tuning besides the high-level vectorization idea, not only for
currently available processors but also for a few future generations of Intel
CPUs
-Max
-----Original Message-----
From: Jack Lloyd [mailto:address@hidden
Sent: Thursday, June 03, 2010 12:53 PM
To: Locktyukhin, Maxim
Cc: monotone-devel
Subject: Re: [Monotone-devel] Fast SSSE3 based SHA-1 by Intel
Thanks! I'll look into implementing this optimization; monotone
already uses the SSE2-based optimizations when possible, but SHA-1
computions are a fairly core operation (the compression function is
about 8% of the total runtime on many operations, IIRC) so any new
improvements are a plus.
Regards,
Jack
On Thu, Jun 03, 2010 at 08:59:34AM -0700, Locktyukhin, Maxim wrote:
> Hi All,
>
> I accidentally came across this project/article:
> http://www.monotone.ca/wiki/SpeedySpeedySHA1/
>
> Thought you may be interested in this one:
> http://software.intel.com/en-us/articles/improving-the-performance-of-the-secure-hash-algorithm-1/
>
> Feel free to use it.
>
> Thanks,
> -Max
>
> _______________________________________________
> Monotone-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/monotone-devel