On 9/10/21 9:00 AM, Peter Maydell wrote:
We actually already have code that sets is_jmp (to DISAS_UPDATE_EXIT)
from gen_preserve_fp_state() -- we do that if we're using icount,
setting DISAS_UPDATE_EXIT to force this to be the last insn in the TB.
Do icount IO instructions need to avoid a possible goto_tb ?
I suppose we do want them to go back to the main loop.
We do want them to go back to the main loop. I'd be surprised if many (or any) io
instructions are also direct branches, but...
This suggests that we need to make gen_goto_tb() look at
the is_jmp value anyway, regardless of this series.
Yes. WLSTP may need to avoid the goto_tb along one path.
r~