Re: [PATCH v10 16/26] target/loongarch: Add disassembler

2021-11-12 Thread gaosong
Hi Richard, On 2021/11/12 下午3:39, Richard Henderson wrote: On 11/12/21 7:53 AM, Song Gao wrote: +const char * const fccregnames[8] = { +  "$fcc0", "$fcc1", "$fcc2", "$fcc3", "$fcc4", "$fcc5", "$fcc6", "$fcc7", +}; static. OK. +static void output_fcsrdrj(DisasContext *ctx, arg_fmt_fcsrdrj

Re: [PATCH v10 16/26] target/loongarch: Add disassembler

2021-11-11 Thread Richard Henderson
On 11/12/21 7:53 AM, Song Gao wrote: +const char * const fccregnames[8] = { + "$fcc0", "$fcc1", "$fcc2", "$fcc3", "$fcc4", "$fcc5", "$fcc6", "$fcc7", +}; static. +static void output_fcsrdrj(DisasContext *ctx, arg_fmt_fcsrdrj *a, + const char *mnemonic) +{ +outpu

[PATCH v10 16/26] target/loongarch: Add disassembler

2021-11-11 Thread Song Gao
This patch adds support for disassembling via option '-d in_asm'. Signed-off-by: Song Gao Signed-off-by: Xiaojuan Yang --- include/disas/dis-asm.h | 2 + meson.build | 1 + target/loongarch/disas.c | 696 +++ 3 files changed, 699 ins