]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/sparc: Discard cpu_cond at the end of each insn
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 16 Oct 2023 19:24:23 +0000 (12:24 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 5 Nov 2023 20:06:33 +0000 (12:06 -0800)
commit89527e3a75c714e12fa054efa6a80e5111d89354
treeaa99dbc0865e7c33e1b763560177a1dff27dc10b
parent533f042f1460e4f369b72ed05e8b4b773a1868c0
target/sparc: Discard cpu_cond at the end of each insn

If the insn raises no exceptions, there will be no path in which
cpu_cond is used, and so the computation may be optimized away.

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