target/arm: Split helper_crypto_sm3tt
commit43fa36c96c24349145497adc1b451f9caf74e344
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 14 May 2020 21:28:31 +0000 (14 14:28 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 5 Jun 2020 16:23:09 +0000 (5 17:23 +0100)
tree27782f16f5678ee74352d6b6dbdbc71770724b7a
parentafc8b7d32668547308bdd654a63cf5228936e0ba
target/arm: Split helper_crypto_sm3tt

Rather than passing an opcode to a helper, fully decode the
operation at translate time.  Use clear_tail_16 to zap the
balance of the SVE register with the AdvSIMD write.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200514212831.31248-7-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/crypto_helper.c
target/arm/helper.h
target/arm/translate-a64.c