qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, alex.bennee@linaro.org
Subject: [PATCH 0/6] target/arm: Convert crypto to gvec
Date: Thu, 14 May 2020 14:28:25 -0700	[thread overview]
Message-ID: <20200514212831.31248-1-richard.henderson@linaro.org> (raw)

In addition, this fixes the missing tail clearing for SVE.

The sha1, sha256, sm3 routines that are not fully generalized
are not used by sve -- it only supports the newer algorithms.

I'm not sure that this:

Based-on: <20200508151055.5832-1-richard.henderson@linaro.org>
("tcg vector rotate operations")

will be sufficient for patchew, because it also relies on
today's target-arm.next merge to master.  But you get the idea.


r~


Richard Henderson (6):
  target/arm: Convert aes and sm4 to gvec helpers
  target/arm: Convert rax1 to gvec helpers
  target/arm: Convert sha512 and sm3 to gvec helpers
  target/arm: Convert sha1 and sha256 to gvec helpers
  target/arm: Split helper_crypto_sha1_3reg
  target/arm: Split helper_crypto_sm3tt

 target/arm/helper.h             |  45 ++++--
 target/arm/translate-a64.h      |   3 +
 target/arm/vec_internal.h       |  33 ++++
 target/arm/neon-dp.decode       |  18 ++-
 target/arm/crypto_helper.c      | 267 +++++++++++++++++++++++---------
 target/arm/translate-a64.c      | 198 ++++++++++-------------
 target/arm/translate-neon.inc.c | 172 ++++----------------
 target/arm/translate.c          |  51 +++---
 target/arm/vec_helper.c         |  12 +-
 9 files changed, 403 insertions(+), 396 deletions(-)
 create mode 100644 target/arm/vec_internal.h

-- 
2.20.1



             reply	other threads:[~2020-05-14 21:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-14 21:28 Richard Henderson [this message]
2020-05-14 21:28 ` [PATCH 1/6] target/arm: Convert aes and sm4 to gvec helpers Richard Henderson
2020-05-14 21:28 ` [PATCH 2/6] target/arm: Convert rax1 " Richard Henderson
2020-05-14 21:28 ` [PATCH 3/6] target/arm: Convert sha512 and sm3 " Richard Henderson
2020-05-14 21:28 ` [PATCH 4/6] target/arm: Convert sha1 and sha256 " Richard Henderson
2020-05-14 21:28 ` [PATCH 5/6] target/arm: Split helper_crypto_sha1_3reg Richard Henderson
2020-05-14 21:28 ` [PATCH 6/6] target/arm: Split helper_crypto_sm3tt Richard Henderson
2020-06-02 19:16 ` [PATCH 0/6] target/arm: Convert crypto to gvec Peter Maydell
2020-06-02 19:21   ` Richard Henderson
2020-06-05 13:24 ` Peter Maydell

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=20200514212831.31248-1-richard.henderson@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=alex.bennee@linaro.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /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;
as well as URLs for NNTP newsgroup(s).