target/arm: Use tcg_gen_qemu_st_i128 for STZG, STZ2G
commite6073d88cc1fb43b00be16f79d9d6b0f9d2276f5
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 6 Jun 2023 09:19:35 +0000 (6 10:19 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 6 Jun 2023 09:19:35 +0000 (6 10:19 +0100)
tree48cca8e29dbed07f26bb9fe366120313b05f25ce
parentd450bd0157be43d273116c3e3617883c8a0ac3d1
target/arm: Use tcg_gen_qemu_st_i128 for STZG, STZ2G

This fixes a bug in that these two insns should have been using atomic
16-byte stores, since MTE is ARMv8.5 and LSE2 is mandatory from ARMv8.4.

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