[0/1] RISC-V: Fix canonical extension order (K and J)
Message ID | cover.1650777879.git.research_trasio@irq.a4lg.com |
---|---|
Headers |
Return-Path: <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 87BF13857822 for <patchwork@sourceware.org>; Sun, 24 Apr 2022 05:25:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 87BF13857822 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1650777932; bh=EiPDtYrApCaYUjw8hzJQ4zLgY//f+E+Ysk6xWIq6siM=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=cqEKoV6u4PcV1wzgY0qtlCNXxuhwk9foQ1agpOjK3hl6+LEfPY25N4kDpVjPSbIlr hHJRAcKy7hdJ8K2bGh2YFhmGmdKOOWjp/UdNyZZ1yE02rZIihMBBjxqHWdMVO9PPkm 9DROLJDW9YAS+dRyYr5vAq12blEUknIcIzwv+wCQ= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.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 E43113858D33 for <gcc-patches@gcc.gnu.org>; Sun, 24 Apr 2022 05:25:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E43113858D33 Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail-sender-0.a4lg.com (Postfix) with ESMTPSA id 8578E300089; Sun, 24 Apr 2022 05:24:59 +0000 (UTC) To: Tsukasa OI <research_trasio@irq.a4lg.com>, Palmer Dabbelt <palmer@dabbelt.com>, Kito Cheng <kito.cheng@sifive.com> Subject: [PATCH 0/1] RISC-V: Fix canonical extension order (K and J) Date: Sun, 24 Apr 2022 14:24:47 +0900 Message-Id: <cover.1650777879.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.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: Tsukasa OI via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Tsukasa OI <research_trasio@irq.a4lg.com> Cc: gcc-patches@gcc.gnu.org Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> |
Message
Tsukasa OI
April 24, 2022, 5:24 a.m. UTC
**note**
My copyright assignment to FSF is not yet started (will start just after
sending this patch). Please take care of the assignment status.
This patch fixes RISC-V's canonical extension order...
from: "J" -> "K"
to : "K" -> "J"
as per the RISC-V ISA Manual draft-20210402-1271737 or later.
This bug in the GCC is currently harmless because neither J nor
Zj* extensions are implemented. Intention of this commit is for future-
proofness.
This patch corresponds following patch for GNU Binutils:
<https://sourceware.org/pipermail/binutils/2022-March/120277.html>
[My copyright assignment is done on GNU Binutils]
References:
<https://github.com/riscv/riscv-isa-manual/commit/1271737463c04cacd98320d820a38f66d1c87dae>
<https://github.com/riscv/riscv-isa-manual/releases/tag/draft-20210402-1271737>
Tsukasa OI (1):
RISC-V: Fix canonical extension order (K and J)
gcc/common/config/riscv/riscv-common.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
base-commit: ab54f6007c79711fc2192098d4ccc3c24e95f3e6