Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQmn3-0002wi-GE for qemu-devel@nongnu.org; Sat, 24 Jan 2009 12:59:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQmn1-0002wW-3K for qemu-devel@nongnu.org; Sat, 24 Jan 2009 12:59:28 -0500 Received: from [199.232.76.173] (port=38918 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQmn0-0002wT-Uc for qemu-devel@nongnu.org; Sat, 24 Jan 2009 12:59:26 -0500 Received: from vsmtp04.dti.ne.jp ([202.216.231.139]:58516) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LQmn0-0007UR-5E for qemu-devel@nongnu.org; Sat, 24 Jan 2009 12:59:26 -0500 Received: from [192.168.1.21] (PPPa1787.e11.eacc.dti.ne.jp [124.255.93.17]) by vsmtp04.dti.ne.jp (3.11v) with ESMTP AUTH id n0OHxMUO021249 for ; Sun, 25 Jan 2009 02:59:22 +0900 (JST) Message-ID: <497B56FA.2090603@juno.dti.ne.jp> Date: Sun, 25 Jan 2009 02:59:22 +0900 From: Shin-ichiro KAWASAKI MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 1/3] sh: SE7750 board definition References: <4969B77E.7050206@juno.dti.ne.jp> <20090111130445.GA12080@game.jcrosoft.org> <496ABD72.20400@juno.dti.ne.jp> <20090112124949.GA14269@linux-sh.org> <496BFD30.30306@renesas.com> <761ea48b0901122346v37009ea4k2077cba73eb9dfd9@mail.gmail.com> In-Reply-To: <761ea48b0901122346v37009ea4k2077cba73eb9dfd9@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Laurent Desnogues wrote: > On Tue, Jan 13, 2009 at 3:32 AM, Nobuhiro Iwamatsu > wrote: >> Because first of all, I am not so interested in the support of the board. >> I am interested in emulation of CPU and the userland. >> In the current situation, the number of supported real boards increases >> when the support of CPU increases. The code of the board enters whenever >> CPU is supported. > > I agree. I was very surprised to find last Sunday that a simple instruction > such as FMAC was not implemented. I wonder how many holes are still > there. I've got anxious about implementation hole of instruction set. Then I want to add a comment on it. I reviewed target-sh4/translate.c and SH-4 (not SH-4A) instruction set document again, and found that following four instructions are not yet implemented. (They will cause illegal instruction exceptions on QEMU-SH.) - STC SGR,Rn - STC SRG,@-Rn - FIPR - FTRV (Patch sent by Mans Rullgard before) SGR is a register which holds stack pointer when exception happens. But SH-Linux seems not to check SGR ever. These can be left safely until other OS runs on QEMU-SH. FIPR and FTRV provide floating point vector/matrix operations. I have no idea which program or library runs these instructions... Does anyone have it? Regards, Shin-ichiro KAWASAKI