]> Git Repo - qemu.git/commit
target/xtensa: support icount
authorMax Filippov <[email protected]>
Mon, 22 Jul 2013 04:02:43 +0000 (08:02 +0400)
committerMax Filippov <[email protected]>
Sun, 15 Jan 2017 21:01:56 +0000 (13:01 -0800)
commitd2132510ca88340bed89db5655e65b7cd87d3d8b
tree374d8cab3c669ef02e54d2483e4f1f4923689950
parent59a71f75789fb15bac0a67a18325c4ac1acc981c
target/xtensa: support icount

Delimit each instruction that may access timers or IRQ state with
qemu_io_start/qemu_io_end, so that qemu-system-xtensa could be run with
-icount option.

Raise EXCP_YIELD after CCOMPARE reprogramming to let tcg_cpu_exec
recalculate how long this CPU is allowed to run.

RSR now may need to terminate TB, but it can't be done in RSR handler
because the same handler is used for XSR together with WSR handler, which
may also need to terminate TB. Change RSR and WSR handlers return type
to bool indicating whether TB termination is needed (RSR) or has been
done (WSR), and add TB termination after RSR/WSR dispatcher call.

Signed-off-by: Max Filippov <[email protected]>
target/xtensa/cpu.h
target/xtensa/op_helper.c
target/xtensa/translate.c
This page took 0.043919 seconds and 4 git commands to generate.