diff options
author | Richard Henderson <rth@twiddle.net> | 2015-09-01 19:11:45 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2015-10-07 20:36:51 +1100 |
commit | fca8a500d519a56abeaedf8073167a61d3c6b9c4 (patch) | |
tree | c0b16245be9a0ee93491586045f9ed9c0961beb5 /tcg/tcg.h | |
parent | bad729e272387de7dbfa3ec4319036552fc6c107 (diff) | |
download | qemu-fca8a500d519a56abeaedf8073167a61d3c6b9c4.zip |
tcg: Save insn data and use it in cpu_restore_state_from_tb
We can now restore state without retranslation.
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/tcg.h')
-rw-r--r-- | tcg/tcg.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -532,6 +532,7 @@ struct TCGContext { int64_t del_op_count; int64_t code_in_len; int64_t code_out_len; + int64_t search_out_len; int64_t interm_time; int64_t code_time; int64_t la_time; @@ -581,7 +582,8 @@ struct TCGContext { uint16_t gen_opc_icount[OPC_BUF_SIZE]; uint8_t gen_opc_instr_start[OPC_BUF_SIZE]; - target_ulong gen_opc_data[TARGET_INSN_START_WORDS]; + uint16_t gen_insn_end_off[TCG_MAX_INSNS]; + target_ulong gen_insn_data[TCG_MAX_INSNS][TARGET_INSN_START_WORDS]; }; extern TCGContext tcg_ctx; |