qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/5] target-tile: Firstly add to qemu with minim


From: Chen Gang S
Subject: Re: [Qemu-devel] [PATCH 1/5] target-tile: Firstly add to qemu with minimized features
Date: Tue, 17 Feb 2015 07:08:42 +0800
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 2/16/15 23:24, Max Filippov wrote:
> On Mon, Feb 16, 2015 at 5:44 PM, Chen Gang S <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]