From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LAtbv-0001zQ-D0 for qemu-devel@nongnu.org; Thu, 11 Dec 2008 17:02:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LAtbu-0001yU-Ne for qemu-devel@nongnu.org; Thu, 11 Dec 2008 17:02:18 -0500 Received: from [199.232.76.173] (port=54511 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAtbu-0001yA-CD for qemu-devel@nongnu.org; Thu, 11 Dec 2008 17:02:18 -0500 Received: from soufre.accelance.net ([213.162.48.15]:59190) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LAtbt-0007Rd-Gn for qemu-devel@nongnu.org; Thu, 11 Dec 2008 17:02:17 -0500 Received: from [192.168.0.3] (potipota.net [88.168.176.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by soufre.accelance.net (Postfix) with ESMTP id 436ED45061 for ; Thu, 11 Dec 2008 23:02:16 +0100 (CET) Subject: Re: [Qemu-devel] Re: SH4: Implement FD bit From: Lionel Landwerlin In-Reply-To: <761ea48b0812111257n3c8713a3r13224f3e9ace20b@mail.gmail.com> References: <200812012022.02276.vladimir@codesourcery.com> <20081207224734.GD3591@volta.aurel32.net> <1229026342.3898.24.camel@cocoduo.atr> <761ea48b0812111257n3c8713a3r13224f3e9ace20b@mail.gmail.com> Content-Type: text/plain; charset=utf-8 Date: Thu, 11 Dec 2008 23:02:13 +0100 Message-Id: <1229032933.3898.30.camel@cocoduo.atr> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 Le jeudi 11 d=C3=A9cembre 2008 =C3=A0 21:57 +0100, Laurent Desnogues a =C3= =A9crit : > On Thu, Dec 11, 2008 at 9:12 PM, Lionel Landwerlin > wrote: > > According to you, should the FD bit be "up" by default in user mode e= mulation ? > > > > By putting the FD bit "down" in cpu_sh4_reset(target-sh4/translate.c)= , I'm able to restore initial > > behavior of user mode emulation (that means, qemu does not exits very= early before libc initialization > > (see the traces before)). > > > > Maybe putting down the FD bit should be done in a user mode part only= ... I'm wondering... >=20 > It doesn't look unacceptable to have some features enabled > in user mode that are not set at reset, since typically the OS > will enable these features either as its boot process or > depending on a process requirements. >=20 > BTW ins't the need for floating-point instructions contained > in some ELF SH4 flags? >=20 >=20 > Laurent >=20 >=20 Hi Laurent, According to you, where should I put this "fix" in linux-user/ ? --=20 =EF=BB=BFLione Landwerlin =20 =EF=BB=BF O p e n W i d e 14, rue Gaillon 75002 Paris