qemu-e2k/tcg/ppc
Richard Henderson 20b6643324 tcg/ppc: Reorg goto_tb implementation
The old ppc64 implementation replaces 2 or 4 insns, which leaves a race
condition in which a thread could be stopped at a PC in the middle of
the sequence, and when restarted does not see the complete address
computation and branches to nowhere.

The new implemetation replaces only one insn, swapping between

	b       <dest>
and
	mtctr	r31

falling through to a general-case indirect branch.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2023-01-17 10:36:16 -10:00
..
tcg-target-con-set.h
tcg-target-con-str.h
tcg-target.c.inc tcg/ppc: Reorg goto_tb implementation 2023-01-17 10:36:16 -10:00
tcg-target.h tcg/ppc: Reorg goto_tb implementation 2023-01-17 10:36:16 -10:00
tcg-target.opc.h