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 BDDC3383CCB8 for ; Sun, 18 Sep 2022 10:13:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BDDC3383CCB8 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=irq.a4lg.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=irq.a4lg.com Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail-sender-0.a4lg.com (Postfix) with ESMTPSA id 2D8D0300089; Sun, 18 Sep 2022 10:13:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=irq.a4lg.com; s=2017s01; t=1663496004; bh=LZJubdW5WWeAFejyWCIWB+uZnnUA8DtrwrY8GFHy6/o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Mime-Version:Content-Transfer-Encoding; b=I/aB9tt6fiALh2FGE9dZqMQgblRQSAgVPGA0inDCXq7flTCKKZp9TK7bkuLZZuh+w y3IUUbog4GrKOfnJtj09h/UKRhJnjJUKK0EI5bBU27LR19sdDWRuj8rwS+nh2NqIN4 eES1j1f6aVYjxxml5bn9q6eVT28H+9hHu5nAuXXQ= From: Tsukasa OI To: Tsukasa OI Cc: binutils@sourceware.org Subject: [REVIEW ONLY v2 0/1] RISC-V (unratified): Add 'Zihintntl' extension Date: Sun, 18 Sep 2022 10:13:21 +0000 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 autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: *** 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. [Cover Letter: Common in 'Zihintntl' and 'Zfa' patchsets] As someone (I can't remember) pointed out in the RISC-V BoF of GNU Tools Cauldron 2022, we don't have a policy to accept unstable extensions yet. Still, at least we can talk about new extensions now... 1. To try new instructions/features as fast as possible, 2. To make actual adoption as fast as possible and 3. To avoid redoing someone else's work I'm working on following unratified RISC-V extensions: 1. 'Zihintntl' [resent as v2] 2. 'Smrnmi' (resumable NMI) 3. 'Zfa' [NEW] I will resend 'Zihintntl' (squashed and applied minor formatting fixes) and submit new 'Zfa' extension as a remainder of what am I doing. ['Zihintntl': Non-Temporal Locality Hints, Version 0.2] 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: (latest commit of the 'master' branch as of this writing) Changes: v1 -> v2 - Squashed - Fixed minor formatting errors - Added DECLARE_INSN declarations Thanks, Tsukasa Tsukasa OI (1): UNRATIFIED RISC-V: Add 'Zihintntl' extension 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 | 26 +++++++++++++++++++ include/opcode/riscv.h | 2 ++ opcodes/riscv-opc.c | 12 +++++++++ 13 files changed, 209 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: 4e38ed582cb9a2e09141126c2e0a527816e702e6 -- 2.34.1