[PATCH] RISC-V: Support the INSN_CLASS.*F.* classes for .insn directive
Jim Wilson
jimw@sifive.com
Wed Nov 13 00:17:00 GMT 2019
On Mon, Nov 11, 2019 at 11:10 PM Nelson Chu <nelson.chu@sifive.com> wrote:
> For the riscv assembler, if we use any floating point register (FPR),
> then the f-extension should be set. Currently we already have the
> similar check in the riscv_opcodes table, but the riscv_insn_types
> table, which is used to parse the ".insn" directive, have not yet. It
> would be good if the riscv_insn_types table has the same behavior as
> the riscv_opcodes table.
This looks good, and passes testing for the usual
riscv{32,64}-{elf,linux} targets. I committed it for you.
Jim
More information about the Binutils
mailing list