]> git.proxmox.com Git - mirror_qemu.git/commit
target/ppc: Introduce gen_icount_io_start
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 17 May 2021 20:50:03 +0000 (17:50 -0300)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 19 May 2021 00:30:29 +0000 (10:30 +1000)
commitf5b6daacd6981e67883678282b5c1e41aae9b212
treef489b185ab073b9f80e738cc1d7cb11fc0d81e4e
parenta68cf3a520f07ee063d3b5b09193aedfd0cb9441
target/ppc: Introduce gen_icount_io_start

Create a function to handle the details for interacting with icount.

Force the exit from the tb via DISAS_TOO_MANY, which allows chaining
to the next tb, where the code emitted for gen_tb_start() will
determine if we must exit.  We can thus remove any matching
conditional call to gen_stop_exception.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20210517205025.3777947-2-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/translate.c