target/loongarch: Enable the disassembler for host tcg
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 1 Dec 2022 00:22:09 +0000 (16:22 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 24 Jan 2023 01:36:36 +0000 (15:36 -1000)
commit2e0d91513deb9bf0e5a1b2e0f574d999df3ebd99
tree6f88e1c8b1ceca5fc7d9d10a8fe24365cd8b0949
parent6aa89be5c5ff9a534280b06fad9b01604e2155cb
target/loongarch: Enable the disassembler for host tcg

Reuse the decodetree based disassembler from
target/loongarch/ for tcg/loongarch64/.

The generation of decode-insns.c.inc into ./libcommon.fa.p/ could
eventually result in conflict, if any other host requires the same
trick, but this is good enough for now.

Reviewed-by: WANG Xuerui <git@xen0n.name>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
disas.c
target/loongarch/meson.build