target/xtensa: drop gen_io_end call
commit8a3a81478dcc592518069125a6ad271fe5511b95
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 22 Jun 2020 05:26:50 +0000 (21 22:26 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 22 Jun 2020 10:38:30 +0000 (22 03:38 -0700)
tree5a1d985d3d33058d473b300fce4f66d750128817
parent62ed68e33db89584355ca4c63cd5b21dd98df636
target/xtensa: drop gen_io_end call

Since commit
ba3e7926691e ("icount: clean up cpu_can_io at the entry to the block")
it has been unnecessary for target code to call gen_io_end() after an IO
instruction in icount mode; it is sufficient to call gen_io_start()
before it and to force the end of the TB.
Remaining call in xtensa target translator is for the opcodes that may
change IRQ state. All of them end current TB, so gen_io_end is not
needed. Drop gen_io_end call from the xtensa target translator.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
target/xtensa/translate.c