Message ID | cover.1669342633.git.research_trasio@irq.a4lg.com |
---|---|
Headers |
Return-Path: <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp3721454wrr; Thu, 24 Nov 2022 18:17:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf5COpy3YB4EO9Zaz03ZULjDzU7LW3+/V2GFuFYrc+SIfmH8o/mqDcu1XuHFq/VdlimYi+Ph X-Received: by 2002:a17:907:b014:b0:7b4:86be:f3e3 with SMTP id fu20-20020a170907b01400b007b486bef3e3mr22453082ejc.741.1669342666394; Thu, 24 Nov 2022 18:17:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669342666; cv=none; d=google.com; s=arc-20160816; b=ciylvAt5bKEafs3UEESJM2KxLTUb1iOmUuoXxosQm6RNqBS0z0Gtbs//LKKvLSRI6E Qh5r0MwPwxMIzRharBagXRvuT8O0CuwISJD2jS4BU58w9SCic5QitdW9r0sCFybJP2lW ZA7Q/6ldiQslENqVpWYG9hKdVHpAgc2uuM39ZDX3rhCzHxHWn1GLc4MA9uIAVWBDU2RN 9z++rO5efKgB9QR8k5dOfqddw4HUtwH3c1QGcsWwxT2AFn5ziLvk12I7Hq9gwebDlsKh Gff1dND70OIlOspgUDCf5+zs/QHAgcFfOApzjiOO+QpiXenw1EB9/HS+LTnYO5bOTK4v j4xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=uc6ywzN5DaEPYtmZz2cWp5Hk+maGg1Kye8bqJya/PkQ=; b=UN86L7Wds3ECBysF2+hGBLneBnasMJGRQ+8RG1dryn3q++v+WtgLFdom7rrqlgU34C Qwr27LtvD7pzAsvkO8CcX5q6Ktoipi7Nv+kc0U853z8S86DoavLcT4MOB3gAahIMm4wR SoElbKf58MEH83NmD6k4te91GMBq4x2dnXsRGDTgVtV4wRsqbYGLxEaMZyCfwrxHN2nV b7p8Rbs+6O9xEOnLHIJDVgDF0O4PFp18xpR889b/2KnMF7riSHBOA89S4OUuSfFP3iiE +wNsj/UR+jivwJsjf4J/pp/NpKrANoePDFrKnis//C1Zw5qXNJbJvHZDmXt2HDc3HPWb lPVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=OcWoc7+F; 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 (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id qb20-20020a1709077e9400b007add164bc81si1183885ejc.222.2022.11.24.18.17.46 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Nov 2022 18:17:46 -0800 (PST) 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=OcWoc7+F; 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 6594B3889E31 for <ouuuleilei@gmail.com>; Fri, 25 Nov 2022 02:17:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6594B3889E31 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669342665; bh=uc6ywzN5DaEPYtmZz2cWp5Hk+maGg1Kye8bqJya/PkQ=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=OcWoc7+F5L99wGxcHYAO2t8d+LM1er+3GBILW8dJBE/gyMPTddFaOXLKXvNswdma3 zX9Sinbxd+WVaVs5TXSUgSa9YOwuxy+KdBcOVMn02NOM/TzFIDtPZ3x+ISIN94dgAr 2yGNjPvDvMWCyTmfb1yFPs14Lxa6Z00puMJbL05U= 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 C3AAA388883F for <binutils@sourceware.org>; Fri, 25 Nov 2022 02:17:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C3AAA388883F Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail-sender-0.a4lg.com (Postfix) with ESMTPSA id 4D10F300089; Fri, 25 Nov 2022 02:17:33 +0000 (UTC) To: Tsukasa OI <research_trasio@irq.a4lg.com>, Jan Beulich <jbeulich@suse.com>, Nelson Chu <nelson@rivosinc.com> Cc: binutils@sourceware.org Subject: [PATCH v3 0/2] RISC-V: Better support for long instructions (64 < x <= 176 [bits]) Date: Fri, 25 Nov 2022 02:17:22 +0000 Message-Id: <cover.1669342633.git.research_trasio@irq.a4lg.com> In-Reply-To: <cover.1669192210.git.research_trasio@irq.a4lg.com> References: <cover.1669192210.git.research_trasio@irq.a4lg.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.1 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> 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?1749907561374700638?= X-GMAIL-MSGID: =?utf-8?q?1750432655964334886?= |
Series |
RISC-V: Better support for long instructions (64 < x <= 176 [bits])
|
|
Message
Tsukasa OI
Nov. 25, 2022, 2:17 a.m. UTC
Hello, c.f. PATCH v1: <https://sourceware.org/pipermail/binutils/2022-November/124516.html> c.f. PATCH v2: <https://sourceware.org/pipermail/binutils/2022-November/124596.html> [Changes: v2 -> v3] 1. PATCH v2 1/2 is removed 2. PATCH v2 2/2 is splitted to PATCH v3 {1,2}/2 based on the feedback of Jan Strict ".byte" testcases are only preserved to test new behavior. They are not 4-byte aligned (10 and 22-bytes) and unlikely to change any time soon. I hope this can be a good compromise. [Changes: v1 -> v2] 1. Rebased (as usual) 2. PATCH 2/2: Simplified the logic to extract low instruction bits (will describe later) 3. PATCH 2/2: Changed the commit message slightly Thanks, Tsukasa Tsukasa OI (2): RISC-V: Better support for long instructions (disassembler) RISC-V: Better support for long instructions (assembler) gas/config/tc-riscv.c | 38 ++++++++++++++++++++++------ gas/testsuite/gas/riscv/insn-dwarf.d | 10 +++++++- gas/testsuite/gas/riscv/insn-na.d | 8 ++++++ gas/testsuite/gas/riscv/insn.d | 22 ++++++++++++++++ gas/testsuite/gas/riscv/insn.s | 9 +++++++ opcodes/riscv-dis.c | 13 ++++++---- 6 files changed, 86 insertions(+), 14 deletions(-) base-commit: 18a119b83d1f0f661532e5167af1c5549496759c