Re: [PATCH 4/7] crypto: sha256-mb - submit/flush routines for AVX2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Xiaodong Liu <xiaodong.liu@xxxxxxxxx>
---
 sha256_mb_mgr_flush_avx2.S | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sha256_mb_mgr_flush_avx2.S b/sha256_mb_mgr_flush_avx2.S
index 93eda35..0bd791b 100644
--- a/sha256_mb_mgr_flush_avx2.S
+++ b/sha256_mb_mgr_flush_avx2.S
@@ -285,13 +285,13 @@ ENTRY(sha256_mb_mgr_get_comp_job_avx2)
 	vpinsrd	$1, _args_digest+1*32(state, idx, 4), %xmm0, %xmm0
 	vpinsrd	$2, _args_digest+2*32(state, idx, 4), %xmm0, %xmm0
 	vpinsrd	$3, _args_digest+3*32(state, idx, 4), %xmm0, %xmm0
-	movl	_args_digest+4*32(state, idx, 4), tmp2_w
+	movd	_args_digest+4*32(state, idx, 4), %xmm1
 	vpinsrd	$1, _args_digest+5*32(state, idx, 4), %xmm1, %xmm1
 	vpinsrd	$2, _args_digest+6*32(state, idx, 4), %xmm1, %xmm1
 	vpinsrd	$3, _args_digest+7*32(state, idx, 4), %xmm1, %xmm1
 
 	vmovdqu	%xmm0, _result_digest(job_rax)
-	movl	tmp2_w, _result_digest+1*16(job_rax)
+	vmovdqu	%xmm1, _result_digest+1*16(job_rax)
 
 	pop	%rbx
 
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux