target/arm: Simplify op_smlawx for SMLAW*
commit485b607d4f393e0de92c922806a68aef22340c98
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 4 Sep 2019 19:30:01 +0000 (4 12:30 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 5 Sep 2019 12:23:03 +0000 (5 13:23 +0100)
tree13802fae5b51cbd91163a0cde32e8fb346e59a41
parentea96b374641bc429269096d88d4e91ee544273e9
target/arm: Simplify op_smlawx for SMLAW*

By shifting the 16-bit input left by 16, we can align the desired
portion of the 48-bit product and use tcg_gen_muls2_i32.

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