target/arm: Simplify aa32 DISAS_WFI
commitc89a9d139bc8ba39c0d88840da47cc69ff9037d5
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 17 Apr 2022 17:43:42 +0000 (17 10:43 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 22 Apr 2022 13:44:54 +0000 (22 14:44 +0100)
tree59e6a9b7f974e9c52d488dfba64d2fcb32a49d37
parent099d1c20883a26e540086695559ca1e4dcd66fa1
target/arm: Simplify aa32 DISAS_WFI

The length of the previous insn may be computed from
the difference of start and end addresses.
Use tcg_constant_i32 while we're at it.

Signed-off-by: Richard Henderson <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