target/arm: Introduce store_cpu_field_constant() helper
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 29 Oct 2021 23:18:31 +0000 (01:18 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 2 Nov 2021 18:14:55 +0000 (14:14 -0400)
commitdaf7a1814feec8a52481a695c2b9f0b9c71f0d46
treec22058f0d66a4f202eb83c36adcf21c9c3973c15
parent060c1f4252bd8bfa06e311bdcb665b46964ce0f3
target/arm: Introduce store_cpu_field_constant() helper

Similarly to the store_cpu_field() helper which takes a TCG
temporary, store its value to the CPUState, introduce the
store_cpu_field_constant() helper which store a constant to
CPUState (without using any TCG temporary).

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