From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lo23o-0004sU-LH for qemu-devel@nongnu.org; Sun, 29 Mar 2009 16:56:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lo23j-0004rY-OE for qemu-devel@nongnu.org; Sun, 29 Mar 2009 16:56:52 -0400 Received: from [199.232.76.173] (port=49663 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lo23j-0004rS-IQ for qemu-devel@nongnu.org; Sun, 29 Mar 2009 16:56:47 -0400 Received: from csl.cornell.edu ([128.84.224.10]:4795 helo=vlsi.csl.cornell.edu) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lo23j-0002pE-9t for qemu-devel@nongnu.org; Sun, 29 Mar 2009 16:56:47 -0400 Received: from stanley.csl.cornell.edu (stanley.csl.cornell.edu [128.84.224.15]) by vlsi.csl.cornell.edu (8.13.4/8.13.4) with ESMTP id n2TKuZF7044009 for ; Sun, 29 Mar 2009 16:56:40 -0400 (EDT) Date: Sun, 29 Mar 2009 16:56:35 -0400 (EDT) From: Vince Weaver Message-ID: <20090329165112.G16354@stanley.csl.cornell.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: [Qemu-devel] mipsIV support for mips-linux-user 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 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? Vince