summaryrefslogtreecommitdiffstats
path: root/tcg/ia64
diff options
context:
space:
mode:
authorEmilio G. Cota2017-04-27 05:29:14 +0200
committerRichard Henderson2017-06-05 18:25:42 +0200
commitcedbcb01529cb6cf9a2289cdbebbc63f6149fc18 (patch)
treed66d40f19de1ab12a0e59131fc7b2d88f10bd823 /tcg/ia64
parentqemu/atomic: Loosen restrictions for 64-bit ILP32 hosts (diff)
downloadqemu-cedbcb01529cb6cf9a2289cdbebbc63f6149fc18.tar.gz
qemu-cedbcb01529cb6cf9a2289cdbebbc63f6149fc18.tar.xz
qemu-cedbcb01529cb6cf9a2289cdbebbc63f6149fc18.zip
tcg: Introduce goto_ptr opcode and tcg_gen_lookup_and_goto_ptr
Instead of exporting goto_ptr directly to TCG frontends, export tcg_gen_lookup_and_goto_ptr(), which calls goto_ptr with the pointer returned by the lookup_tb_ptr() helper. This is the only use case we have for goto_ptr and lookup_tb_ptr, so having this function is very convenient. Furthermore, it trivially allows us to avoid calling the lookup helper if goto_ptr is not implemented by the backend. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Emilio G. Cota <cota@braap.org> Message-Id: <1493263764-18657-2-git-send-email-cota@braap.org> Message-Id: <1493263764-18657-3-git-send-email-cota@braap.org> Message-Id: <1493263764-18657-4-git-send-email-cota@braap.org> Message-Id: <1493263764-18657-5-git-send-email-cota@braap.org> [rth: Squashed 4 related commits.] Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/ia64')
-rw-r--r--tcg/ia64/tcg-target.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/ia64/tcg-target.h b/tcg/ia64/tcg-target.h
index 42aea03a8b..901bb7575d 100644
--- a/tcg/ia64/tcg-target.h
+++ b/tcg/ia64/tcg-target.h
@@ -173,6 +173,7 @@ typedef enum {
#define TCG_TARGET_HAS_mulsh_i64 0
#define TCG_TARGET_HAS_extrl_i64_i32 0
#define TCG_TARGET_HAS_extrh_i64_i32 0
+#define TCG_TARGET_HAS_goto_ptr 0
#define TCG_TARGET_deposit_i32_valid(ofs, len) ((len) <= 16)
#define TCG_TARGET_deposit_i64_valid(ofs, len) ((len) <= 16)