lkml.org 
[lkml]   [2013]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 03/11] Optimized sha256 x86_64 assembly routine using Supplemental SSE3 instructions.
On 22.03.2013 23:29, Tim Chen wrote:
> Provides SHA256 x86_64 assembly routine optimized with SSSE3 instructions.
> Speedup of 40% or more has been measured over the generic implementation.
>
> Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
> ---
> arch/x86/crypto/sha256-ssse3-asm.S | 504 +++++++++++++++++++++++++++++++++++++
> 1 file changed, 504 insertions(+)
> create mode 100644 arch/x86/crypto/sha256-ssse3-asm.S
>
> diff --git a/arch/x86/crypto/sha256-ssse3-asm.S b/arch/x86/crypto/sha256-ssse3-asm.S

..snip..

> +
> +########################################################################
> +## void sha256_transform_ssse3(void *input_data, UINT32 digest[8], UINT64 num_blks)
> +## arg 1 : pointer to input data
> +## arg 2 : pointer to digest
> +## arg 3 : Num blocks
> +########################################################################
> +.text
> +.global sha256_transform_ssse3
> +.align 32
> +sha256_transform_ssse3:

Maybe use ENRTY/ENDPROC macros for exporting functions from assembly?

-Jussi



\
 
 \ /
  Last update: 2013-03-24 14:01    [W:0.029 / U:1.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site