[PATCH] RISC-V: Convert the ADD/ADDI to the compressed MV/LI if RS1 is zero.
Kito Cheng
kito.cheng@gmail.com
Thu Feb 20 02:48:00 GMT 2020
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 <email@address.com>"
[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 <jimw@sifive.com> wrote:
>
> 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
More information about the Binutils
mailing list