This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] RISC-V: Convert the ADD/ADDI to the compressed MV/LI if RS1 is zero.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]