Re: [Qemu-devel] [PATCHv2 1/2] translator: merge max_insns into DisasContextBase

2018-02-21 Thread Emilio G. Cota
On Wed, Feb 21, 2018 at 10:19:05 -0800, Richard Henderson wrote: > On 02/19/2018 06:26 PM, Emilio G. Cota wrote: > > @@ -68,6 +69,7 @@ typedef struct DisasContextBase { > > target_ulong pc_next; > > DisasJumpType is_jmp; > > unsigned int num_insns; > > +int max_insns; > > bo

Re: [Qemu-devel] [PATCHv2 1/2] translator: merge max_insns into DisasContextBase

2018-02-21 Thread Richard Henderson
On 02/19/2018 06:26 PM, Emilio G. Cota wrote: > @@ -68,6 +69,7 @@ typedef struct DisasContextBase { > target_ulong pc_next; > DisasJumpType is_jmp; > unsigned int num_insns; > +int max_insns; > bool singlestep_enabled; > } DisasContextBase; We really should pick the same t

Re: [Qemu-devel] [PATCHv2 1/2] translator: merge max_insns into DisasContextBase

2018-02-21 Thread Richard Henderson
On 02/21/2018 12:17 PM, Emilio G. Cota wrote: > On Wed, Feb 21, 2018 at 10:19:05 -0800, Richard Henderson wrote: >> On 02/19/2018 06:26 PM, Emilio G. Cota wrote: >>> @@ -68,6 +69,7 @@ typedef struct DisasContextBase { >>> target_ulong pc_next; >>> DisasJumpType is_jmp; >>> unsigned i

[Qemu-devel] [PATCHv2 1/2] translator: merge max_insns into DisasContextBase

2018-02-19 Thread Emilio G. Cota
Signed-off-by: Emilio G. Cota --- accel/tcg/translator.c | 21 ++--- include/exec/translator.h | 6 +++--- target/alpha/translate.c | 6 ++ target/arm/translate-a64.c | 8 +++- target/arm/translate.c | 9 +++-- target/hppa/translate.c| 7 ++- ta