]> Git Repo - qemu.git/commit - tcg-runtime.c
tcg: Introduce goto_ptr opcode and tcg_gen_lookup_and_goto_ptr
authorEmilio G. Cota <[email protected]>
Thu, 27 Apr 2017 03:29:14 +0000 (23:29 -0400)
committerRichard Henderson <[email protected]>
Mon, 5 Jun 2017 16:25:42 +0000 (09:25 -0700)
commitcedbcb01529cb6cf9a2289cdbebbc63f6149fc18
treed66d40f19de1ab12a0e59131fc7b2d88f10bd823
parent374aae653499f4d405caf32b7fff0c8639113fe4
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 <[email protected]>
Signed-off-by: Emilio G. Cota <[email protected]>
Message-Id: <1493263764[email protected]>
Message-Id: <1493263764[email protected]>
Message-Id: <1493263764[email protected]>
Message-Id: <1493263764[email protected]>
[rth: Squashed 4 related commits.]
Signed-off-by: Richard Henderson <[email protected]>
19 files changed:
cpu-exec.c
include/exec/exec-all.h
tcg-runtime.c
tcg/README
tcg/aarch64/tcg-target.h
tcg/arm/tcg-target.h
tcg/i386/tcg-target.h
tcg/ia64/tcg-target.h
tcg/mips/tcg-target.h
tcg/ppc/tcg-target.h
tcg/s390/tcg-target.h
tcg/sparc/tcg-target.h
tcg/tcg-op.c
tcg/tcg-op.h
tcg/tcg-opc.h
tcg/tcg-runtime.h
tcg/tcg.c
tcg/tcg.h
tcg/tci/tcg-target.h
This page took 0.032354 seconds and 4 git commands to generate.