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 97A503858430 for ; Sat, 9 Jul 2022 04:57:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 97A503858430 Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail-sender-0.a4lg.com (Postfix) with ESMTPSA id 5C29F300089; Sat, 9 Jul 2022 04:56:59 +0000 (UTC) From: Tsukasa OI To: Tsukasa OI Cc: binutils@sourceware.org Subject: [REVIEW ONLY 0/2] RISC-V (unratified): Add 'Zihintntl' extension Date: Sat, 9 Jul 2022 13:56:46 +0900 Message-Id: Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.4 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: Sat, 09 Jul 2022 04:57:03 -0000 *** WAIT FOR SPECIFICATION FREEZE *** This is an implementation for unratified and unfrozen RISC-V extension and not intended to be merged as of now. The only intent to submit this patchset is to test new instructions for your (possibly virtual) environment and early review for fast adoption after ratification. This patchset adds following unratified extension to GNU Binutils: - Zihintntl (Non-Temporal Locality Hints extension) version 0.2 (may change on ratification) ... which adds only HINT instructions. This is based on the ISA Manual, draft-20220707-f518c25: [RFC: Automatic Instruction Compression] NTL instructions are auto-compressed. If NTL.* instruction is used and 'C' extension is enabled, it would be emit as 'C.NTL.*' instruction. I think this behavior is harmless (and desired) considering the specification but this behavior would be the first for HINT instruction. Tsukasa OI (2): UNRATIFIED RISC-V: Add 'Zihintntl' extension UNRATIFIED RISC-V: Add 'Zihintntl' extension tests bfd/elfxx-riscv.c | 16 ++++++++++++ gas/testsuite/gas/riscv/zihintntl-auto-c.d | 17 +++++++++++++ .../gas/riscv/zihintntl-base-noarch.d | 25 +++++++++++++++++++ gas/testsuite/gas/riscv/zihintntl-base.d | 25 +++++++++++++++++++ gas/testsuite/gas/riscv/zihintntl-base.s | 17 +++++++++++++ gas/testsuite/gas/riscv/zihintntl-c-noalias.d | 17 +++++++++++++ gas/testsuite/gas/riscv/zihintntl-c.d | 17 +++++++++++++ gas/testsuite/gas/riscv/zihintntl-c.s | 9 +++++++ gas/testsuite/gas/riscv/zihintntl.d | 17 +++++++++++++ gas/testsuite/gas/riscv/zihintntl.s | 9 +++++++ include/opcode/riscv-opc.h | 17 +++++++++++++ include/opcode/riscv.h | 2 ++ opcodes/riscv-opc.c | 12 +++++++++ 13 files changed, 200 insertions(+) create mode 100644 gas/testsuite/gas/riscv/zihintntl-auto-c.d create mode 100644 gas/testsuite/gas/riscv/zihintntl-base-noarch.d create mode 100644 gas/testsuite/gas/riscv/zihintntl-base.d create mode 100644 gas/testsuite/gas/riscv/zihintntl-base.s create mode 100644 gas/testsuite/gas/riscv/zihintntl-c-noalias.d create mode 100644 gas/testsuite/gas/riscv/zihintntl-c.d create mode 100644 gas/testsuite/gas/riscv/zihintntl-c.s create mode 100644 gas/testsuite/gas/riscv/zihintntl.d create mode 100644 gas/testsuite/gas/riscv/zihintntl.s base-commit: d2acd4b0c5bab349aaa152d60268bc144634a844 -- 2.34.1