[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 19/20] tcg: Remove gen_intermediate_code_pc
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 19/20] tcg: Remove gen_intermediate_code_pc |
Date: |
Tue, 8 Sep 2015 19:49:40 +0100 |
On 2 September 2015 at 06:52, Richard Henderson <address@hidden> wrote:
> It's no longer used, so tidy up everything reached by it.
> This includes the gen_opc_* arrays, the search_pc parameter
> and the inline gen_intermediate_code_internal functions.
> @@ -11254,10 +11248,9 @@ static inline void
> gen_intermediate_code_internal(ARMCPU *cpu,
> * (3) if we leave the TB unexpectedly (eg a data abort on a load)
> * then the CPUARMState will be wrong and we need to reset it.
> * This is handled in the same way as restoration of the
> - * PC in these situations: we will be called again with search_pc=1
> - * and generate a mapping of the condexec bits for each PC in
> - * gen_opc_condexec_bits[]. restore_state_to_opc() then uses
> - * this to restore the condexec bits.
> + * PC in these situations; the saved mapping of the condexec bits
> + * for each PC which restore_state_to_opc() then uses this to
> + * restore the condexec bits.
The grammar here is a bit flaky. Try
> + * PC in these situations; we save the value of the condexec bits
> + * for each PC via tcg_gen_insn_start(), and restore_state_to_opc()
> + * then uses this to restore them after an exception.
Otherwise
Reviewed-by: Peter Maydell <address@hidden>
thanks
-- PMM
- [Qemu-devel] [PATCH 12/20] target-sparc: Remove gen_opc_jump_pc, (continued)
- [Qemu-devel] [PATCH 12/20] target-sparc: Remove gen_opc_jump_pc, Richard Henderson, 2015/09/02
- [Qemu-devel] [PATCH 13/20] target-sparc: Add npc state to insn_start, Richard Henderson, 2015/09/02
- [Qemu-devel] [PATCH 14/20] tcg: Merge cpu_gen_code into tb_gen_code, Richard Henderson, 2015/09/02
- [Qemu-devel] [PATCH 15/20] target-*: Drop cpu_gen_code define, Richard Henderson, 2015/09/02
- [Qemu-devel] [PATCH 16/20] tcg: Add TCG_MAX_INSNS, Richard Henderson, 2015/09/02
- [Qemu-devel] [PATCH 18/20] tcg: Save insn data and use it in cpu_restore_state_from_tb, Richard Henderson, 2015/09/02
- [Qemu-devel] [PATCH 20/20] tcg: Remove tcg_gen_code_search_pc, Richard Henderson, 2015/09/02
- [Qemu-devel] [PATCH 17/20] tcg: Pass data argument to restore_state_to_opc, Richard Henderson, 2015/09/02
- [Qemu-devel] [PATCH 19/20] tcg: Remove gen_intermediate_code_pc, Richard Henderson, 2015/09/02
- Re: [Qemu-devel] [PATCH 19/20] tcg: Remove gen_intermediate_code_pc,
Peter Maydell <=
- Re: [Qemu-devel] [RFC 00/20] Do away with TB retranslation, Max Filippov, 2015/09/02
- Re: [Qemu-devel] [RFC 00/20] Do away with TB retranslation, Richard Henderson, 2015/09/02
- Re: [Qemu-devel] [RFC 00/20] Do away with TB retranslation, Max Filippov, 2015/09/04
- Re: [Qemu-devel] [RFC 00/20] Do away with TB retranslation, Peter Maydell, 2015/09/04
- Re: [Qemu-devel] [RFC 00/20] Do away with TB retranslation, Richard Henderson, 2015/09/04
- Re: [Qemu-devel] [RFC 00/20] Do away with TB retranslation, Max Filippov, 2015/09/04
- Re: [Qemu-devel] [RFC 00/20] Do away with TB retranslation, Mark Cave-Ayland, 2015/09/05
- Re: [Qemu-devel] [RFC 00/20] Do away with TB retranslation, Richard Henderson, 2015/09/06
- Re: [Qemu-devel] [RFC 00/20] Do away with TB retranslation, Artyom Tarasenko, 2015/09/09
Re: [Qemu-devel] [RFC 00/20] Do away with TB retranslation, Peter Maydell, 2015/09/08