Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9495EC71155 for ; Tue, 17 Jun 2025 06:30:31 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uRPpc-0008AU-VK; Tue, 17 Jun 2025 02:30:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uRPpV-0007xe-2W for qemu-devel@nongnu.org; Tue, 17 Jun 2025 02:29:57 -0400 Received: from mail-a.sr.ht ([46.23.81.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uRPpR-0002mI-AU for qemu-devel@nongnu.org; Tue, 17 Jun 2025 02:29:56 -0400 DKIM-Signature: a=rsa-sha256; bh=SmS9rZFlkxE8ip4byyqvRD2WkpYC2SS+RKjFiiJq0MM=; c=simple/simple; d=git.sr.ht; h=From:Date:Subject:Reply-to:To:Cc; q=dns/txt; s=20240113; t=1750141783; v=1; b=cEpWYBmHvEjpmeUsXGvvhN/CQ76cZuemjenZfllVryqNkknfkySWfmxuzmwm7+3qZthRE+qv BgzEDoKkAksH2KWEaqNcTBXO8lqRF+vvz4SXwb89Kh9H4stJB6QgwLl3oZlktRU/ynfmnj1Elmj BzitQt9by/PnL1wJaCO4J0qKHEb1ELmAHzHIhuVlFz3FsmTYd8dDGm3Bwe6NcbcIVPjNfUbYpCu 6wKI7itSKpOStiJ3q/tKW0yco7rmn3ofSmszmx7jVk7QjhwBhl8PiJjm+ZMZv6ya59sYZUSB46c GLid2OTB+Th+7JMRel6kw2cuLdALMeGm9/YVtCh/gJOjg== Received: from git.sr.ht (unknown [46.23.81.155]) by mail-a.sr.ht (Postfix) with ESMTPSA id 8E2D0221B5; Tue, 17 Jun 2025 06:29:43 +0000 (UTC) From: ~liuxu Date: Tue, 17 Jun 2025 06:29:43 +0000 Subject: [PATCH qemu v9 0/1] target/riscv: Add Zilsd and Zclsd extension support MIME-Version: 1.0 Message-ID: <175014178352.19565.9471325854234944512-0@git.sr.ht> X-Mailer: git.sr.ht To: qemu-devel@nongnu.org Cc: Alistair Francis , Richard Henderson Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=46.23.81.152; envelope-from=outgoing@sr.ht; helo=mail-a.sr.ht X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ~liuxu Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Thanks for Alistair's correction on the V8 version. Now Zclsd has been disabled for the "max" CPU as C and F are already enabled. lxx (1): target/riscv: Add Zilsd and Zclsd extension support target/riscv/cpu.c | 4 + target/riscv/cpu_cfg_fields.h.inc | 2 + target/riscv/insn16.decode | 8 ++ target/riscv/insn32.decode | 12 ++- target/riscv/insn_trans/trans_zilsd.c.inc | 112 ++++++++++++++++++++++ target/riscv/tcg/tcg-cpu.c | 32 +++++++ target/riscv/translate.c | 1 + 7 files changed, 169 insertions(+), 2 deletions(-) create mode 100644 target/riscv/insn_trans/trans_zilsd.c.inc -- 2.45.3