From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-sender-0.a4lg.com (mail-sender.a4lg.com [153.120.152.154]) by sourceware.org (Postfix) with ESMTPS id 8D148385626A for ; Tue, 24 May 2022 09:35:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8D148385626A Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail-sender-0.a4lg.com (Postfix) with ESMTPSA id 08E6C300089; Tue, 24 May 2022 09:35:22 +0000 (UTC) From: Tsukasa OI To: Tsukasa OI , Kito Cheng , Nelson Chu , Palmer Dabbelt Cc: binutils@sourceware.org Subject: [PATCH v2 0/3] RISC-V: Add CSRs for several supervisor extensions Date: Tue, 24 May 2022 18:35:09 +0900 Message-Id: In-Reply-To: References: Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2022 09:35:26 -0000 v1: This patchset adds CSRs for following extensions: - Smstateen - Sscofpmf - Sstc For consistency with CSR_CLASS_I hypervisor-related CSRs, minimum privileged specification on hypervisor-related CSRs are 1.12 and non hypervisor-related CSRs are 1.9.1 (minimum supported; Smstateen and Sstc) or none (Sscofpmf; which has no hypervisor-related CSRs). This decision corresponds Option A on: I have been busy since submitting v1 and I completely forgot to submit v2 (which is already completed on February). Thanks, Tsukasa Tsukasa OI (3): RISC-V: Add 'Smstateen' extension and its CSRs RISC-V: Add 'Sscofpmf' extension with its CSRs RISC-V: Add 'Sstc' extension and its CSRs bfd/elfxx-riscv.c | 3 + gas/config/tc-riscv.c | 26 +++ gas/testsuite/gas/riscv/csr-dw-regnums.d | 54 +++++ gas/testsuite/gas/riscv/csr-dw-regnums.s | 57 ++++++ gas/testsuite/gas/riscv/csr-version-1p10.d | 108 ++++++++++ gas/testsuite/gas/riscv/csr-version-1p10.l | 207 ++++++++++++++++++++ gas/testsuite/gas/riscv/csr-version-1p11.d | 108 ++++++++++ gas/testsuite/gas/riscv/csr-version-1p11.l | 207 ++++++++++++++++++++ gas/testsuite/gas/riscv/csr-version-1p12.d | 108 ++++++++++ gas/testsuite/gas/riscv/csr-version-1p12.l | 187 ++++++++++++++++++ gas/testsuite/gas/riscv/csr-version-1p9p1.d | 108 ++++++++++ gas/testsuite/gas/riscv/csr-version-1p9p1.l | 207 ++++++++++++++++++++ gas/testsuite/gas/riscv/csr.s | 60 ++++++ include/opcode/riscv-opc.h | 114 +++++++++++ 14 files changed, 1554 insertions(+) base-commit: be38442ddacf1fd25c8868d0491ea9e98b0e9ca7 -- 2.34.1