From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 90456 invoked by alias); 20 Feb 2020 02:48:19 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 90321 invoked by uid 89); 20 Feb 2020 02:48:08 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-7.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=FYI, fyi, H*i:sk:CAFyWVa, H*f:sk:kM1Qa5J X-HELO: mail-wm1-f66.google.com Received: from mail-wm1-f66.google.com (HELO mail-wm1-f66.google.com) (209.85.128.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 20 Feb 2020 02:48:07 +0000 Received: by mail-wm1-f66.google.com with SMTP id t14so375674wmi.5 for ; Wed, 19 Feb 2020 18:47:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3DiWlGDN+jxh225y1sjyGyIDEKBg6+6x3gYevhGeOBs=; b=YplxmdXy96rLdzAtkgoJLqB1nEnSnWMimaj0oeGGxmn+p110QnIF93jY+LjQmwkLDD ip5yw6lWTyZzMMOPEduJuZz1X0XxWU4+rM2QIg+z+UUXqlN00VeAH7tV2D3E4ImuT/a0 5cydPTqySLsJZrBw/B3NWhYnuC530i6qvkeZvcYR3yfKoMmYiuMfr3ALEQM/NUrgxBRR XlU+DMPkuDZKA9VNw62/gSnfWjO2FDx8G1ncR/52WuUFxc1JSaSuSinbW3v51hUkhA10 7pRNY5mw57AY4BObDyk9kQmozsQdSBYQqVWOAdlNGjM4yEhcLrQDEYrWftQxkJSFrFQI vaAg== MIME-Version: 1.0 References: <1582076536-10638-1-git-send-email-nelson.chu@sifive.com> In-Reply-To: From: Kito Cheng Date: Thu, 20 Feb 2020 02:48:00 -0000 Message-ID: Subject: Re: [PATCH] RISC-V: Convert the ADD/ADDI to the compressed MV/LI if RS1 is zero. To: Jim Wilson Cc: Nelson Chu , Binutils , Kito Cheng Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00490.txt.bz2 Hi Jim: FYI, I used to using this command to update author of last commit without change global git setting: git commit --amend --author="Author Name " [1] https://stackoverflow.com/questions/3042437/how-to-change-the-commit-author-for-one-specific-commit On Thu, Feb 20, 2020 at 7:11 AM Jim Wilson wrote: > > On Tue, Feb 18, 2020 at 5:42 PM Nelson Chu wrote: > > gas/ > > * testsuite/gas/riscv/c-add-addi.d: New testcase. > > * testsuite/gas/riscv/c-add-addi.s: Likewise. > > opcodes/ > > * riscv-opc.c (riscv_opcodes): Convert add/addi to the compressed > > c.mv/c.li if rs1 is zero. > > Looks good to me. Committed. > > Though apparently I committed it wrong as I didn't realize that git > has a way to assign authors to patches separate from the person that > commits the patch. I just included a changelog line to attribute the > patch to you. I shall have to try setting the author for the commit > next time. > > Jim