target/arm: Use the constant variant of store_cpu_field() when possible
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 29 Oct 2021 23:18:32 +0000 (01:18 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 2 Nov 2021 18:14:55 +0000 (14:14 -0400)
commitcacb1aa486e713b9492e18668276a12b938cee33
tree0c2d51e1a8b8330100cd5f541c0502405e42b0cd
parentdaf7a1814feec8a52481a695c2b9f0b9c71f0d46
target/arm: Use the constant variant of store_cpu_field() when possible

When using a constant variable, we can replace the store_cpu_field()
call by store_cpu_field_constant() which avoid using TCG temporaries.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211029231834.2476117-4-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/translate.c