Linux cryptographic layer development
 help / color / mirror / Atom feed
From: Xiaodong Liu <xiaodong.liu@intel.com>
To: megha.dey@linux.intel.com
Cc: Xiaodong Liu <xiaodong.liu@intel.com>,
	linux-crypto@vger.kernel.org, tim.c.chen@linux.intel.com
Subject: Re: [PATCH 4/7] crypto: sha256-mb - submit/flush routines for AVX2
Date: Mon, 11 Apr 2016 06:13:59 +0000	[thread overview]
Message-ID: <1460355239-41687-1-git-send-email-xiaodong.liu@intel.com> (raw)
In-Reply-To: <1458851163-3448-5-git-send-email-megha.dey@linux.intel.com>

Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com>
---
 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

  reply	other threads:[~2016-04-11  6:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-24 20:25 [PATCH 0/7] crypto: SHA256 multibuffer implementation megha.dey
2016-03-24 20:25 ` [PATCH 1/7] crypto: sha1-mb - rename sha-mb to sha1-mb megha.dey
2016-03-24 20:25 ` [PATCH 2/7] crypto: sha256-mb - SHA256 multibuffer job manager and glue code megha.dey
2016-04-05 12:03   ` Herbert Xu
2016-04-08 18:37     ` Yu, Fenghua
2016-03-24 20:25 ` [PATCH 3/7] crypto: sha256-mb - Enable multibuffer support megha.dey
2016-03-24 20:26 ` [PATCH 4/7] crypto: sha256-mb - submit/flush routines for AVX2 megha.dey
2016-04-11  6:13   ` Xiaodong Liu [this message]
2016-03-24 20:26 ` [PATCH 5/7] crypto: sha256-mb - Algorithm data structures megha.dey
2016-03-24 20:26 ` [PATCH 6/7] crypto: sha256-mb - Crypto computation (x8 AVX2) megha.dey
2016-03-24 20:26 ` [PATCH 7/7] crypto: tcrypt - Add speed tests for SHA multibuffer algorithms megha.dey
2016-04-04 23:06 ` [PATCH 0/7] crypto: SHA256 multibuffer implementation Yu, Fenghua

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=1460355239-41687-1-git-send-email-xiaodong.liu@intel.com \
    --to=xiaodong.liu@intel.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=megha.dey@linux.intel.com \
    --cc=tim.c.chen@linux.intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox