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.hender...@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