Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1jCYXE-0004il-Dl for mharc-qemu-riscv@gnu.org; Thu, 12 Mar 2020 20:50:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32992) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCYCt-0004EF-0l for qemu-riscv@nongnu.org; Thu, 12 Mar 2020 20:29:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCYCq-0002EC-TP for qemu-riscv@nongnu.org; Thu, 12 Mar 2020 20:29:42 -0400 Received: from wnew1-smtp.messagingengine.com ([64.147.123.26]:49147) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jCYCm-00023W-FY; Thu, 12 Mar 2020 20:29:36 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.west.internal (Postfix) with ESMTP id 7219659B; Thu, 12 Mar 2020 20:29:33 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 12 Mar 2020 20:29:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=fsRtuS8klfa5SD3pP frMomknIQY0F1oVMbRs0q2bW/Q=; b=P8ZjeQrTAhzmJC80KaQ+eiKahCp276w6G YzF4bl50Tet9kjOtFl1K2WYvRQPS2kLtjsCMCpN/o3EhUuVRyGOCjcpWEfyYICLb etmeTndnIMKoKY6ZoVLjg4Ku10Q7OL/DrZTxw5RleMuFtfaHUB6kk4WSOCmrk5H+ WyrzM1ulVPmr8um9EcXJ82X4kXD9uYK37kBJ4rTatqkVOGp8Ti6Y1PXqdTKElGpU SXzzPQT/YOJVP4tzXgYnCpIFG4JX7MBRwZovKeiijfDnl0NqmLMl5U1LimtMLnhV JXH7yB28nJ++GdLKGNPQj1ok2GvRdP2QJxszeBcJxfzvYWLuzT/2w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedruddviedgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpeevohhrvgihucgh hhgrrhhtohhnuceotghorhgvhiifjeesfhgsrdgtohhmqeenucfkphepudeifedrudduge drudefvddruddvkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpegtohhrvgihfiejsehfsgdrtghomh X-ME-Proxy: Received: from coreyw7-fedora-MJ09BKJM.thefacebook.com (unknown [163.114.132.128]) by mail.messagingengine.com (Postfix) with ESMTPA id 2003F3061363; Thu, 12 Mar 2020 20:29:31 -0400 (EDT) From: Corey Wharton To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: Palmer Dabbelt , Alistair Francis , Sagar Karandikar , Bastian Koppelmann , Corey Wharton Subject: [PATCH 0/2] Support different CPU types for the sifive_e machine Date: Thu, 12 Mar 2020 17:29:21 -0700 Message-Id: <20200313002923.30905-1-coreyw7@fb.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.123.26 X-Mailman-Approved-At: Thu, 12 Mar 2020 20:50:42 -0400 X-BeenThere: qemu-riscv@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2020 00:29:44 -0000 The purpose of this patch set is to allow the sifive_e machine to run with different CPU targets to enable different ISA entensions. To that end it also introduces a new sifive-e34 CPU type which provides the same ISA as sifive-e31, with the addition of the single precision floating-point extension (f). The default CPU for the sifive_e machine is unchanged. A user can change the default CPU type by specifying it with the '-cpu' option on the command line. Corey Wharton (2): riscv: sifive_e: Support changing CPU type target/riscv: Add a sifive-e34 cpu type hw/riscv/sifive_e.c | 3 ++- target/riscv/cpu.c | 10 ++++++++++ target/riscv/cpu.h | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) -- 2.21.1