On 2/16/15 23:24, Max Filippov wrote:
> On Mon, Feb 16, 2015 at 5:44 PM, Chen Gang S <gang.c...@sunrus.com.cn> wrote:
>> I guess, for qemu, we need !DISASM_ONLY, and may need BFD_RELOC, and may
>> need the latest decode_X1_fsm, and also may need !__KERNEL__ -- which
>> means we will use the full binutils version disassembler!!
> 
> Disassembler is not a crucial part of QEMU target.

For me, it is necessary. We need disassemble target binary instructions
(recognize them), then translate them into tcg instructions which are
grouped by Translate Block.

We may not need to display the instructions (it is only for test), but
we still need recognize them.

And for me, current tilera opcode implementation in binutils/kernel is
already almost the fewest and the simplestkk.


> If you need it you can dump instruction bytes and use the script
> scripts/disas-objdump.pl
> that calls binutils. target-xtensa does that.
> 

OK, thanks, for me, it is a useful tool.


Thanks.
-- 
Chen Gang

Open, share, and attitude like air, water, and life which God blessed

Reply via email to