target/arm: Use pointers in crypto helpers
commit1a66ac61af45af04688d1d15896737310e366c06
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 25 Jan 2018 11:45:28 +0000 (25 11:45 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 25 Jan 2018 11:45:28 +0000 (25 11:45 +0000)
tree22288546b6028311bad12269bb49a40515bfa2cb
parentcf96a682481bbfb1e6b53d2436c3d51563d5dff8
target/arm: Use pointers in crypto helpers

Rather than passing regnos to the helpers, pass pointers to the
vector registers directly.  This eliminates the need to pass in
the environment pointer and reduces the number of places that
directly access env->vfp.regs[].

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20180119045438.28582-3-richard.henderson@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
target/arm/translate.c