]> git.proxmox.com Git - mirror_qemu.git/commit
target/sparc: Drop use of gen_io_end()
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 24 Jul 2021 13:49:01 +0000 (14:49 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 8 Sep 2021 10:09:45 +0000 (11:09 +0100)
commitb5328172a94b223da742dc73555469b6418535ab
tree0a355bcc431f3755ec423ca628e5d7eb41504d6a
parentabf7aee72ea66944a62962603e4c2381f5e473e7
target/sparc: Drop use of gen_io_end()

The gen_io_end() function is obsolete (as documented in
docs/devel/tcg-icount.rst). Where an instruction is an I/O
operation, the translator frontend should call gen_io_start()
before generating the code which does the I/O, and then
end the TB immediately after this insn.

Remove the calls to gen_io_end() in the SPARC frontend,
and ensure that the insns which were calling it end the
TB if they didn't do so already.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210724134902.7785-2-peter.maydell@linaro.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
target/sparc/translate.c