[PATCH v2] RISC-V: Improve li expansion for better code density.

Kito Cheng kito.cheng@gmail.com
Mon Aug 26 02:25:00 GMT 2019


Committed :)

On Sat, Aug 24, 2019 at 6:04 AM Jim Wilson <jimw@sifive.com> wrote:
>
> On Fri, Aug 23, 2019 at 12:22 AM Kito Cheng <kito.cheng@sifive.com> wrote:
> >         * tc-riscv.c (md_assemblef): New.
> >         (load_const) Use md_assemblef instead of macro_build to emit
> >         instructions.
> >         * testsuite/gas/riscv/li32.d: New.
> >         * testsuite/gas/riscv/li32.s: Ditto.
> >         * testsuite/gas/riscv/li64.d: Ditto.
> >         * testsuite/gas/riscv/li64.s: Ditto.
>
> Thanks.  This version looks good.
>
> Jim



More information about the Binutils mailing list