On 10/10/2017 08:18 AM, Paolo Bonzini wrote:
> This should be done by all target and, since commit 53f6672bcf
> ("gen-icount: use tcg_ctx.tcg_env instead of cpu_env", 2017-06-30),
> is causing the NIOS2 target to hang.
> 
> This is because the test for "should I exit to the main loop"
> was being done with the correct offset to the icount decrementer,
> but using TCG temporary 0 (the frame pointer) rather than the
> env pointer.
> 
> Cc: [email protected]
> Cc: Marek Vasut <[email protected]>
> Reported-by: Thomas Huth <[email protected]>
> Signed-off-by: Paolo Bonzini <[email protected]>
> ---
>  target/nios2/translate.c | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Richard Henderson <[email protected]>


r~

Reply via email to