This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] RISC-V: Convert the ADD/ADDI to the compressed MV/LI if RS1 is zero.
- From: Jim Wilson <jimw at sifive dot com>
- To: Nelson Chu <nelson dot chu at sifive dot com>
- Cc: Binutils <binutils at sourceware dot org>, Kito Cheng <kito dot cheng at sifive dot com>
- Date: Wed, 19 Feb 2020 15:10:55 -0800
- Subject: Re: [PATCH] RISC-V: Convert the ADD/ADDI to the compressed MV/LI if RS1 is zero.
- References: <1582076536-10638-1-git-send-email-nelson.chu@sifive.com>
On Tue, Feb 18, 2020 at 5:42 PM Nelson Chu <nelson.chu@sifive.com> 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