Message ID | cover.1664602716.git.research_trasio@irq.a4lg.com |
---|---|
Headers |
Return-Path: <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp114045wrs; Fri, 30 Sep 2022 22:39:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4rwRPAD7XDdyux3odPOxanIhOCLpGnAuv7tNkPFUrlvrlohsJEW1uo0DuS8QlttLuzdBGl X-Received: by 2002:a05:6402:1712:b0:457:460c:44eb with SMTP id y18-20020a056402171200b00457460c44ebmr10629490edu.426.1664602783987; Fri, 30 Sep 2022 22:39:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664602783; cv=none; d=google.com; s=arc-20160816; b=CsKOTcLYgO+oZByKl1CgvO+pf40LsVD3znEFZa/V/2dUCdG1NN/2jHbEQSFesdfzFk JvbKc6Rjk18nJmJI8SGmGCDU/C683U56lI/UA3T49hoTVY9tm8vT4nyIAakGFtze03kE G9vdX07PEVuxH5h/GY1byKzPVUcEOVLA2jyNPruGCtvCkGeJPnMwscB5JqkyvlPrBRLy 1tJcRgF8OOxa1GKIPvtcwOxITzQ6D3zy3G+4XOpiARceDVa84YKHsg7dDJyAo/511g0k soOPzUnaq0yEmeUdu42S7VVlYRtPYmLymx1ElnP0VOPhty8nVCHnxYBHg/sUf/A45qDT qn+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:reply-to:from:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=ZBxGNbLanIbLPHmPwSIBoZJpjjkR40PE62fOlAuvvZI=; b=oIOMM60+Q3j/AA6qmZ3TO7Dodf794j3iqWpd7QSBIGGYX9i9tI77Tfq/XuNoE3p4kd kYy+dder5wPNgJwxV9ozm3zXmQsubNg8Zm3SWCZhScGxnH9/sySZABBalyBR9Qo6E8+I sVCKArOtPBNTfXscWAZ6K4REavglNuaSLgUsvbaN2tf6W/E7mwWJ0/ZWi2HhsHVvBllq e3Icbay92CZ8H+e8a7BaN/0eqHfK3E5Vy0jS9WQLD/rosWMtMMXLnOj4GuLRft+stNo3 Y3TQAsFzhnG5+h2NfPb/ASW+9Z8MATV+7v20kwoPTd47US1Z22T7xANKWGfzW1rWzaUe ijDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=FE0dKo+c; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id i7-20020a0564020f0700b0045405cf4edesi1561942eda.608.2022.09.30.22.39.43 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Sep 2022 22:39:43 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=FE0dKo+c; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 10AB13858285 for <ouuuleilei@gmail.com>; Sat, 1 Oct 2022 05:39:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 10AB13858285 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1664602783; bh=ZBxGNbLanIbLPHmPwSIBoZJpjjkR40PE62fOlAuvvZI=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=FE0dKo+c8YhdCOXzxZQP+fd1OtoRLwUMwd9N8SljsWNKmfv+Jiloa/xPtTiSX4jLX ZoiHvL7xos6hUv4zvApAaLTvEpAP2wzqFrRk8aGpaLAfkf0JNQ6adaNF0wpQEZjf9J 2Ci2Qibww5bMjKu5TWqIqHpRe+7NkTXUwGbu/4kI= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-sender-0.a4lg.com (mail-sender-0.a4lg.com [IPv6:2401:2500:203:30b:4000:6bfe:4757:0]) by sourceware.org (Postfix) with ESMTPS id 631C33858D1E for <binutils@sourceware.org>; Sat, 1 Oct 2022 05:39:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 631C33858D1E Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail-sender-0.a4lg.com (Postfix) with ESMTPSA id C1ACA300089; Sat, 1 Oct 2022 05:39:31 +0000 (UTC) To: Tsukasa OI <research_trasio@irq.a4lg.com> Subject: [PATCH 0/1] RISC-V: Move supervisor instructions after all unprivileged ones Date: Sat, 1 Oct 2022 05:39:25 +0000 Message-Id: <cover.1664602716.git.research_trasio@irq.a4lg.com> 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 X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> From: Tsukasa OI via Binutils <binutils@sourceware.org> Reply-To: Tsukasa OI <research_trasio@irq.a4lg.com> Cc: binutils@sourceware.org Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1745462528940427073?= X-GMAIL-MSGID: =?utf-8?q?1745462528940427073?= |
Series |
RISC-V: Move supervisor instructions after all unprivileged ones
|
|
Message
Tsukasa OI
Oct. 1, 2022, 5:39 a.m. UTC
Hello, GitHub tracker: <https://github.com/a4lg/binutils-gdb/wiki/riscv_opcode_tidying_csr_1> This is a small tidying patchset. This location of supervisor instructions is out of place (because many other privileged instructions are located at the tail but after the supervisor instructions, we have many unprivileged instructions including bit manipulation / crypto / vector instructions). Not only that, this is harmful to implement pseudoinstructions in the latest 'P'-extension proposal (CLROV and RDOV). This patchset moves supervisor instructions after all unprivileged instructions and adjusts some indents. Thanks, Tsukasa Tsukasa OI (1): RISC-V: Move supervisor instructions after all unprivileged ones opcodes/riscv-opc.c | 64 ++++++++++++++++++++++----------------------- 1 file changed, 32 insertions(+), 32 deletions(-) base-commit: 53a265a1f14d17a6f7b106082f610994c5d546e0