From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrUl9-0006St-04 for qemu-devel@nongnu.org; Thu, 20 Nov 2014 11:39:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrUl4-0007o9-2F for qemu-devel@nongnu.org; Thu, 20 Nov 2014 11:39:06 -0500 Received: from mail-la0-f50.google.com ([209.85.215.50]:65350) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrUl3-0007o3-Ra for qemu-devel@nongnu.org; Thu, 20 Nov 2014 11:39:01 -0500 Received: by mail-la0-f50.google.com with SMTP id pv20so2722319lab.37 for ; Thu, 20 Nov 2014 08:39:01 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Peter Maydell Date: Thu, 20 Nov 2014 16:38:40 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH] linux-user: Use the 5KEf processor for 64-bit emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Maciej W. Rozycki" Cc: Leon Alrae , QEMU Developers , Aurelien Jarno On 20 November 2014 16:00, Maciej W. Rozycki wrote: > Replace the 20Kc original MIPS64 ISA processor used for 64-bit user > emulation with the 5KEf processor that implements the MIPS64r2 ISA, > complementing the choice of the 24Kf processor for 32-bit emulation. > > Signed-off-by: Maciej W. Rozycki > --- > Hi, > > For user emulation mode I think we want to default to the highest ISA > level supported, for maximum user flexibility. Currently the MIPS64r2 > ISA is the highest 64-bit ISA we have a real processor support for so > use it and the 5KEf which is the processor we have that implements it. > Later, as newer processors are added, we can bump it further up. Is it feasible to define an "any" CPU for linux-user which basically enables all known ISA features? This is what we do on ARM and some other target CPU families. If some CPU features conflict with each other (so you can't validly have a CPU with all of them) that might make it awkward, though. -- PMM