target/arm: Use ror32 instead of open-coding the operation
commitdd861b3f29be97a9e3cdb9769dcbc0c7d7825185
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 8 Aug 2019 20:26:13 +0000 (8 13:26 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 16 Aug 2019 13:02:53 +0000 (16 14:02 +0100)
tree12f50b7a9a2f1fca52ec516c966348a5884c932c
parent464eaa9571fae5867d9aea7d7209c091c8a50223
target/arm: Use ror32 instead of open-coding the operation

The helper function is more documentary, and also already
handles the case of rotate by zero.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190808202616.13782-5-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate.c