disas: Move host asm annotations to tb_gen_code
commit4c389f6edf4a6bbdbc3dbcd7c4d639d868d0cf0c
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 10 Sep 2020 19:15:04 +0000 (10 12:15 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 3 Oct 2020 09:25:14 +0000 (3 04:25 -0500)
tree154fe3eee670f58542de95ccb88d5f3fb15fa5a0
parentbcf368626cb33c4d8bf1c0c8fd1dcafb3c9f8d53
disas: Move host asm annotations to tb_gen_code

Instead of creating GStrings and passing them into log_disas,
just print the annotations directly in tb_gen_code.

Fix the annotations for the slow paths of the TB, after the
part implementing the final guest instruction.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/translate-all.c
disas.c
include/disas/disas.h
include/exec/log.h
tcg/tcg.c