target/arm: Move general-use constant expanders up in translate.c
commitf7ed0c9433e7c5c157d2e6235eb5c8b93234a71a
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 19 Nov 2020 21:55:57 +0000 (19 21:55 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 10 Dec 2020 11:44:55 +0000 (10 11:44 +0000)
tree5163fd95991909aaeec479a3957b0da390588bfd
parent32a290b8c3c2dc85cd88bd8983baf900d575cabc
target/arm: Move general-use constant expanders up in translate.c

The constant-expander functions like negate, plus_2, etc, are
generally useful; move them up in translate.c so we can use them in
the VFP/Neon decoders as well as in the A32/T32/T16 decoders.

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