OSDN Git Service

target/arm: Simplify SMMLA, SMMLAR, SMMLS, SMMLSR
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 8 Aug 2019 20:26:15 +0000 (13:26 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 16 Aug 2019 13:02:53 +0000 (14:02 +0100)
commit5f8cd06ebcf57420be8fea4574de2e074de46709
treec3131c1a76abdf38400e345d183d8d0a35af54bf
parentadefba76e8bf10dfb342094d2f5debfeedb1a74d
target/arm: Simplify SMMLA, SMMLAR, SMMLS, SMMLSR

All of the inputs to these instructions are 32-bits.  Rather than
extend each input to 64-bits and then extract the high 32-bits of
the output, use tcg_gen_muls2_i32 and other 32-bit generator functions.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190808202616.13782-7-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