target/xtensa: add generic instruction post-processing
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 30 Jan 2019 22:48:22 +0000 (14:48 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Thu, 28 Feb 2019 12:43:22 +0000 (04:43 -0800)
commit45b71a795e5add347f0ba7aba526896132e9b986
treeb27da096ac034904dd1f0c7de0f06701e2102295
parent20e9fd0fc0634de24ee2763d769e3780e369afdd
target/xtensa: add generic instruction post-processing

Some opcodes may need additional actions at every exit from the
translated instruction or may need to amend TB exit slots available to
jumps generated for the instruction. Add gen_postprocess function and
call it from the gen_jump_slot and from the disas_xtensa_insn.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
target/xtensa/cpu.h
target/xtensa/translate.c