Re: [Qemu-devel] [PATCH 1/3] translator: add retcode to translator_loop_temp_check

2018-02-15 Thread Emilio G. Cota
On Thu, Feb 15, 2018 at 07:09:56 -0800, Richard Henderson wrote: > On 02/14/2018 07:14 PM, Emilio G. Cota wrote: > > -void translator_loop_temp_check(DisasContextBase *db); > > +int translator_loop_temp_check(DisasContextBase *db); > > bool. > > Although I don't see how this is helpful. If you w

Re: [Qemu-devel] [PATCH 1/3] translator: add retcode to translator_loop_temp_check

2018-02-15 Thread Richard Henderson
On 02/14/2018 07:14 PM, Emilio G. Cota wrote: > -void translator_loop_temp_check(DisasContextBase *db); > +int translator_loop_temp_check(DisasContextBase *db); > bool. Although I don't see how this is helpful. If you want to customize the output, surely you just use tcg_check_temp_count direc

[Qemu-devel] [PATCH 1/3] translator: add retcode to translator_loop_temp_check

2018-02-14 Thread Emilio G. Cota
This will allow us to print further info from target code. Signed-off-by: Emilio G. Cota --- accel/tcg/translator.c| 4 +++- include/exec/translator.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/accel/tcg/translator.c b/accel/tcg/translator.c index 23c6602..f409a95