[PATCH 2/3] RISC-V: sb/uj format named b/j in latest spec

Jim Wilson jimw@sifive.com
Wed May 29 06:47:00 GMT 2019


On Sun, May 26, 2019 at 11:37 PM Kito Cheng <kito@andestech.com> wrote:
> gas/ChangeLog:
>         * doc/c-riscv.texi (Instruction Formats): Add b and j type.
> opcode/ChangeLog:
>         * riscv-opc.c (riscv_insn_types): Add b and j type.

There should be tests added to the testcase for the new b and j types,
which can just be copies of the existing sb and uj tests.

The new b type should not support stores, e.g. the last two with q(s),
as that is a bug in the original implementation.  Similarly, there
should not be testcases added for stores using the b type.

Jim



More information about the Binutils mailing list