]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Avoid tcg_const_ptr in handle_rev
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 25 Feb 2023 22:29:41 +0000 (12:29 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 13 Mar 2023 14:03:39 +0000 (07:03 -0700)
commit56649fd949a85973c23ae17285de7ce5ffe18656
treef819e5535d459027025014216552022d592c8146
parent1b7bc9b5c8bf374dd37e49cc258e4ab3447b7148
target/arm: Avoid tcg_const_ptr in handle_rev

Here it is not trivial to notice first initialization, so explicitly
zero the temps.  Use an array for the output, rather than separate
tcg_rd/tcg_rd_hi variables.

Fixes a bug by adding a missing clear_vec_high.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/tcg/translate-a64.c