Message ID | cover.1665203660.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 y7csp607845wrs; Fri, 7 Oct 2022 21:34:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4bpdccsWNAJvECmYZ8Mjih3QqbPctS0GSg6bXHHXteVLNVYR/325xNgMakGGGGBcPQoq7x X-Received: by 2002:a05:6402:370c:b0:453:9fab:1b53 with SMTP id ek12-20020a056402370c00b004539fab1b53mr7790972edb.28.1665203683382; Fri, 07 Oct 2022 21:34:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665203683; cv=none; d=google.com; s=arc-20160816; b=IU7WGB2n7ukaQ1FLNy2dKk0EMvgyyfRakk0ePI+yhOezkzE9cU/T/0kC26dqnRJ/F6 Hy+Otq7QSN+HAcVkdauKEEftPNFVvFkXP76C0rkIAqAhln3Tfcv/Y0EOn1dpVwNInJT/ kfUjHeItrVjuLwJ+vKbaO93EZAOysCu2J0aTlWL1AZYqlRfE2exSt5YcJivK51vn2O5X B/gwVa024I0Jl5QN8WSWPuzsK5UNaSRCZaqDUBb7MUsV0PsfVsb+KJmpMG23chbcug1R hDZgBuCt7ginMTry2VGfdDMAJcO35dyNAp8bKFaNUpEh7Gp9cdxLtzbFCIY5LsEkC0RT xUgQ== 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=+47GCmcudTZxFJbrUm8dMqvx0NnwJP+ibLcb0mBf8Dw=; b=Pq/3yU+gs6y3CcwCfPa82TPHzJ3HIA9vZpYHiyzv60stZctcF7iXjX13CFxq+H9MdJ cum6dYc48RZsdmWFsbp/w9uPXBnRlUK7kL4X1vtO0O97uw/lsL8gqmVw9INBuqj/MYj6 quPEE6Uy1WwYyhcVl/NtDqG2ul485yrvJwF9JKTkmmJUqcvaKqkCxyEZT6m9510DqqMX iis8jtSRmbEbu1T2m+ufJn0qrxdLMpyIHJTuVuJ48Zu9csa+YZQ8PZMsmzRFH89N/dds S/aMDV9D4zyAYHNSYPBck5Pqhxavb40sBY9nhVLYWHtECROSg1ja9F1aGGjj3BHByjGF 8Dtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=KFCAubsq; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c 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. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id hv12-20020a17090760cc00b0077d8a28dc81si5013682ejc.594.2022.10.07.21.34.43 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Oct 2022 21:34:43 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=KFCAubsq; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c 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 A10CA38A8145 for <ouuuleilei@gmail.com>; Sat, 8 Oct 2022 04:34:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A10CA38A8145 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1665203679; bh=+47GCmcudTZxFJbrUm8dMqvx0NnwJP+ibLcb0mBf8Dw=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=KFCAubsqgYwzC/NrlIiRpBZKMH1rekd48tNPW4/Gve/62YzEGpy0ypm+BowHHfT7I 7Zxx0X3sbA8X1Htm5DAD1cahF+Mz0nwG1hyRqDWXPyMMyfwVY89zKb1ufetHL1982W AbkKslyp3lCAnxHGqFENKi6YM750WTnWXCJDyfSE= 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 EBBA43858CDB for <binutils@sourceware.org>; Sat, 8 Oct 2022 04:34:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EBBA43858CDB Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail-sender-0.a4lg.com (Postfix) with ESMTPSA id 3BCB4300089; Sat, 8 Oct 2022 04:34:29 +0000 (UTC) To: Tsukasa OI <research_trasio@irq.a4lg.com>, Nelson Chu <nelson@rivosinc.com>, Kito Cheng <kito.cheng@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com> Subject: [PATCH 0/5] RISC-V: Requirements for disassembler optimizations 1 (Tidying part) Date: Sat, 8 Oct 2022 04:34:22 +0000 Message-Id: <cover.1665203660.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> 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?1746092617592588087?= X-GMAIL-MSGID: =?utf-8?q?1746092617592588087?= |
Series |
RISC-V: Requirements for disassembler optimizations 1 (Tidying part)
|
|
Message
Tsukasa OI
Oct. 8, 2022, 4:34 a.m. UTC
Hello, To improve the core disassembler (both for performance and feature), this patchset now prepares for it. This is the part 1 of (planned) 4 part patchsets. 1. Tidying (you are here) 2. Reorganization of the disassembler architecture (including some small optimizations) 3. Optimization 1 4. Optimization 2 Project: <https://github.com/a4lg/binutils-gdb/wiki/proj_dis_perf_improvements_1> Batch 1, Part 1 is the only hardly-functional part of the whole patchsets and considered non-debatable. - Adds/fixes some comments - Fixes some formatting / typing - Removes/makes static some local variables Again, this is mostly a tidying patchset. Thanks, Tsukasa Tsukasa OI (5): opcodes/riscv-dis.c: Tidying with comments/clarity opcodes/riscv-dis.c: Tidying with spacing opcodes/riscv-dis.c: Use bool type whenever possible opcodes/riscv-dis.c: Make XLEN variable static opcodes/riscv-dis.c: Remove last_map_state opcodes/riscv-dis.c | 40 +++++++++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 13 deletions(-) base-commit: 4cbfd0daabd68516651ee37a19d0e24ca4789ea3
Comments
On Sat, Oct 8, 2022 at 12:34 PM Tsukasa OI <research_trasio@irq.a4lg.com> wrote: > > Hello, > > To improve the core disassembler (both for performance and feature), this > patchset now prepares for it. > > This is the part 1 of (planned) 4 part patchsets. > > 1. Tidying (you are here) > 2. Reorganization of the disassembler architecture > (including some small optimizations) > 3. Optimization 1 > 4. Optimization 2 > > Project: > <https://github.com/a4lg/binutils-gdb/wiki/proj_dis_perf_improvements_1> > > Batch 1, Part 1 is the only hardly-functional part of the whole patchsets > and considered non-debatable. > > - Adds/fixes some comments > - Fixes some formatting / typing > - Removes/makes static some local variables > > Again, this is mostly a tidying patchset. > > Thanks, > Tsukasa > > > > > Tsukasa OI (5): > opcodes/riscv-dis.c: Tidying with comments/clarity > opcodes/riscv-dis.c: Tidying with spacing > opcodes/riscv-dis.c: Use bool type whenever possible > opcodes/riscv-dis.c: Make XLEN variable static > opcodes/riscv-dis.c: Remove last_map_state OK, looks good. Although I am not sure what optimization you want to do, at least the tidy patches are always welcome and independent, so please commit. Thanks Nelson > opcodes/riscv-dis.c | 40 +++++++++++++++++++++++++++------------- > 1 file changed, 27 insertions(+), 13 deletions(-) > > > base-commit: 4cbfd0daabd68516651ee37a19d0e24ca4789ea3 > -- > 2.34.1 >