From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNUf3-0002cJ-Dy for qemu-devel@nongnu.org; Mon, 16 Feb 2015 18:01:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNUf0-0002A4-8o for qemu-devel@nongnu.org; Mon, 16 Feb 2015 18:01:05 -0500 Received: from out1134-250.mail.aliyun.com ([42.120.134.250]:49465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNUez-00029X-UH for qemu-devel@nongnu.org; Mon, 16 Feb 2015 18:01:02 -0500 Message-ID: <54E2787A.7010101@sunrus.com.cn> Date: Tue, 17 Feb 2015 07:08:42 +0800 From: Chen Gang S MIME-Version: 1.0 References: <54DD17BC.5040006@sunrus.com.cn> <54DD180B.3080004@sunrus.com.cn> <54DE8DCA.6030302@sunrus.com.cn> <54DEBC3E.4000805@sunrus.com.cn> <54DEC303.6030502@ezchip.com> <54DF6F90.60406@sunrus.com.cn> <54E1669F.9090402@sunrus.com.cn> <54E20265.9040606@sunrus.com.cn> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/5] target-tile: Firstly add to qemu with minimized features List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Filippov Cc: Peter Maydell , Riku Voipio , qemu-devel , Chris Metcalf , "walt@tilera.com" , "rth@twiddle.net" On 2/16/15 23:24, Max Filippov wrote: > On Mon, Feb 16, 2015 at 5:44 PM, Chen Gang S 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