summaryrefslogtreecommitdiffstats
path: root/tcg/i386/tcg-target.h
diff options
context:
space:
mode:
authorRichard Henderson2017-07-21 07:56:42 +0200
committerRichard Henderson2017-09-07 20:57:35 +0200
commit4e45f23943c0bb91588627de3801826546155ad8 (patch)
tree126a552debfaf839c8e7448fb893777db6722bba /tcg/i386/tcg-target.h
parenttcg: Infrastructure for managing constant pools (diff)
downloadqemu-4e45f23943c0bb91588627de3801826546155ad8.tar.gz
qemu-4e45f23943c0bb91588627de3801826546155ad8.tar.xz
qemu-4e45f23943c0bb91588627de3801826546155ad8.zip
tcg/i386: Store out-of-range call targets in constant pool
Already it saves 2 bytes per call, but also the constant pool entry may well be shared across multiple calls. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/i386/tcg-target.h')
-rw-r--r--tcg/i386/tcg-target.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h
index 11ee7fadd1..b89dababf4 100644
--- a/tcg/i386/tcg-target.h
+++ b/tcg/i386/tcg-target.h
@@ -189,5 +189,6 @@ static inline void tb_target_set_jmp_target(uintptr_t tc_ptr,
#ifdef CONFIG_SOFTMMU
#define TCG_TARGET_NEED_LDST_LABELS
#endif
+#define TCG_TARGET_NEED_POOL_LABELS
#endif