accel/tcg: Add CF_NO_GOTO_TB and CF_NO_GOTO_PTR
commit84f1561629ba5b6942b6edd825a1d14c9f51a25c
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 17 Jul 2021 22:18:41 +0000 (17 15:18 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 21 Jul 2021 17:47:04 +0000 (21 07:47 -1000)
treed63783a85daaafcf16a14c4ca539f4bb9317e0ce
parent288a5fe980f75c1c6c8a65fc9367c2902f44f4fa
accel/tcg: Add CF_NO_GOTO_TB and CF_NO_GOTO_PTR

Move the -d nochain check to bits on tb->cflags.
These will be used for more than -d nochain shortly.

Set bits during curr_cflags, test them in translator_use_goto_tb,
assert we're not doing anything odd in tcg_gen_goto_tb.  The test
in tcg_gen_exit_tb is redundant with the assert for goto_tb_issue_mask.

Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20210717221851.2124573-4-richard.henderson@linaro.org>
accel/tcg/cpu-exec.c
accel/tcg/translator.c
include/exec/exec-all.h
tcg/tcg-op.c