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: Support the INSN_CLASS.*F.* classes for .insn directive


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


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