summaryrefslogtreecommitdiffstats
path: root/tcg/s390/tcg-target.inc.c
diff options
context:
space:
mode:
authorRichard Henderson2017-08-01 07:02:31 +0200
committerRichard Henderson2017-09-07 20:57:34 +0200
commita85833933628384d74ec412024d55cf012640287 (patch)
treecd3ed9260f5c9813102ffce4c006e7bbf3419c03 /tcg/s390/tcg-target.inc.c
parenttcg/tci: Add TCG_TARGET_DEFAULT_MO (diff)
downloadqemu-a85833933628384d74ec412024d55cf012640287.tar.gz
qemu-a85833933628384d74ec412024d55cf012640287.tar.xz
qemu-a85833933628384d74ec412024d55cf012640287.zip
tcg: Move USE_DIRECT_JUMP discriminator to tcg/cpu/tcg-target.h
Replace the USE_DIRECT_JUMP ifdef with a TCG_TARGET_HAS_direct_jump boolean test. Replace the tb_set_jmp_target1 ifdef with an unconditional function tb_target_set_jmp_target. While we're touching all backends, add a parameter for tb->tc_ptr; we're going to need it shortly for some backends. Move tb_set_jmp_target and tb_add_jump from exec-all.h to cpu-exec.c. This opens the possibility for TCG_TARGET_HAS_direct_jump to be a runtime decision -- based on host cpu capabilities, the size of code_gen_buffer, or a future debugging switch. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/s390/tcg-target.inc.c')
0 files changed, 0 insertions, 0 deletions