From patchwork Mon Apr 11 06:13:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Xiaodong X-Patchwork-Id: 8797131 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 11FB59FBEA for ; Mon, 11 Apr 2016 06:19:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 548E720256 for ; Mon, 11 Apr 2016 06:19:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5BDE72026D for ; Mon, 11 Apr 2016 06:19:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752613AbcDKGT1 (ORCPT ); Mon, 11 Apr 2016 02:19:27 -0400 Received: from mga03.intel.com ([134.134.136.65]:11326 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752466AbcDKGT0 (ORCPT ); Mon, 11 Apr 2016 02:19:26 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 10 Apr 2016 23:19:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,462,1455004800"; d="scan'208";a="929706932" Received: from storage14.sh.intel.com ([10.239.129.122]) by orsmga001.jf.intel.com with ESMTP; 10 Apr 2016 23:19:11 -0700 From: Xiaodong Liu To: megha.dey@linux.intel.com Cc: Xiaodong Liu , 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 Message-Id: <1460355239-41687-1-git-send-email-xiaodong.liu@intel.com> X-Mailer: git-send-email 2.1.4 In-reply-to: <1458851163-3448-5-git-send-email-megha.dey@linux.intel.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Xiaodong Liu --- 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