RISC-V: Support the INSN_CLASS.*F.* classes for .insn directive.
authorJim Wilson <jimw@sifive.com>
Wed, 13 Nov 2019 00:13:00 +0000 (16:13 -0800)
committerJim Wilson <jimw@sifive.com>
Wed, 13 Nov 2019 00:13:00 +0000 (16:13 -0800)
commit7722d40a9c412d26c30db8af5005b36de5618737
tree37bc13ff53e7dc1bc0ef1040b7ef5e5a625c5b58
parent31175a0d7167ab7f98878076be02dc4330b825bb
RISC-V: Support the INSN_CLASS.*F.* classes for .insn directive.

We have to enable the f extension through -march or ELF attribute if we use the
FPR in .insn directive.  The behavior is same as the riscv_opcodes.

2019-11-12  Nelson Chu  <nelson.chu@sifive.com>
opcodes/
* riscv-opc.c (riscv_insn_types): Replace the INSN_CLASS_I with
INSN_CLASS_F and the INSN_CLASS_C with INSN_CLASS_F_AND_C if we
use the floating point register (FPR).

gas/
* testsuite/gas/riscv/insn.d: Add the f extension to -march option.

Change-Id: I4f59d04c82673ef84c56ecd2659ad8ce164dd626
gas/ChangeLog
gas/testsuite/gas/riscv/insn.d
opcodes/ChangeLog
opcodes/riscv-opc.c
This page took 0.024407 seconds and 4 git commands to generate.