]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/sparc: Check for invalid cond in gen_compare_reg
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 21 Oct 2023 07:46:33 +0000 (00:46 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 5 Nov 2023 20:07:21 +0000 (12:07 -0800)
commit2c4f56c9aa7e1e8a34428c4efe17788be11fb73f
tree6b980d8db0c1b6b1feb9fe21143a5c371fccf1b1
parent3a6b8de3e2b5b7e37e0a71fd01a4e5f58d635573
target/sparc: Check for invalid cond in gen_compare_reg

Consolidate the test here; drop the "inverted logic".
Fix MOVr and FMOVR, which were missing the invalid test.

Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/sparc/translate.c