From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lo5wr-0001WE-Rz for qemu-devel@nongnu.org; Sun, 29 Mar 2009 21:05:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lo5wr-0001W2-6i for qemu-devel@nongnu.org; Sun, 29 Mar 2009 21:05:57 -0400 Received: from [199.232.76.173] (port=53519 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lo5wr-0001Vz-0i for qemu-devel@nongnu.org; Sun, 29 Mar 2009 21:05:57 -0400 Received: from hall.aurel32.net ([88.191.82.174]:38106) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lo5wq-0006gK-Jj for qemu-devel@nongnu.org; Sun, 29 Mar 2009 21:05:56 -0400 Received: from aurel32 by hall.aurel32.net with local (Exim 4.69) (envelope-from ) id 1Lo5wl-000633-Sk for qemu-devel@nongnu.org; Mon, 30 Mar 2009 03:05:51 +0200 Date: Mon, 30 Mar 2009 03:05:51 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] mipsIV support for mips-linux-user Message-ID: <20090330010551.GD12026@hall.aurel32.net> References: <20090329165112.G16354@stanley.csl.cornell.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20090329165112.G16354@stanley.csl.cornell.edu> Sender: Aurelien Jarno 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 On Sun, Mar 29, 2009 at 04:56:35PM -0400, Vince Weaver wrote: > Hello > > I have some 32-bit mips binaries compiled with -mips4 -O3. > > These run fine on an actual mips r12k system I have, but fail with > default mips-linux-user (0.10.1). > > This is because by default mips-linux-user does not have support enabled > for mipsIV instructions. This is because MIPS_HFLAG_COP1X > is not enabled on any of the cpus supported by mips-linux-user. > > So my question, what is the correct way to fix this? Add a R4000 class > CPU that can be seen with mips-linux-user? Or should the default for > user operation just enable this because it supports more binaries? Did you try with a MIPS32R2 CPU? It should have COP1X instructions. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net