binutils-gdb/include/opcode
Tsukasa OI 045f385d9a RISC-V: Added Zfhmin and Zhinxmin.
This commit adds Zfhmin and Zhinxmin extensions (subsets of Zfh and
Zhinx extensions, respectively).  In the process supporting Zfhmin and
Zhinxmin extension, this commit also changes how instructions are
categorized considering Zfhmin, Zhinx and Zhinxmin extensions.

Detailed changes,

* From INSN_CLASS_ZFH to INSN_CLASS_ZFHMIN:

flh, fsh, fmv.x.h and fmv.h.x.

* From INSN_CLASS_ZFH to INSN_CLASS_ZFH_OR_ZHINX:

fmv.h.

* From INSN_CLASS_ZFH_OR_ZHINX to INSN_CLASS_ZFH_OR_ZHINX:

fneg.h, fabs.h, fsgnj.h, fsgnjn.h, fsgnjx.h,
fadd.h, fsub.h, fmul.h, fdiv.h, fsqrt.h, fmin.h, fmax.h,
fmadd.h, fnmadd.h, fmsub.h, fnmsub.h,
fcvt.w.h, fcvt.wu.h, fcvt.h.w, fcvt.h.wu,
fcvt.l.h, fcvt.lu.h, fcvt.h.l, fcvt.h.lu,
feq.h, flt.h, fle.h, fgt.h, fge.h,
fclass.h.

* From INSN_CLASS_ZFH_OR_ZHINX to INSN_CLASS_ZFHMIN_OR_ZHINXMIN:

fcvt.s.h and fcvt.h.s.

* From INSN_CLASS_D_AND_ZFH_INX to INSN_CLASS_ZFHMIN_AND_D:

fcvt.d.h and fcvt.h.d.

* From INSN_CLASS_Q_AND_ZFH_INX to INSN_CLASS_ZFHMIN_AND_Q:

fcvt.q.h and fcvt.h.q.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_implicit_subsets): Change implicit
	subsets.  Zfh->Zicsr is not needed and Zfh->F is replaced with
	Zfh->Zfhmin and Zfhmin->F.  Zhinx->Zicsr is not needed and
	Zhinx->Zfinx is replaced with Zhinx->Zhinxmin and
	Zhinxmin->Zfinx.
	(riscv_supported_std_z_ext): Added zfhmin and zhinxmin.
	(riscv_multi_subset_supports):  Rewrite handling for new
	instruction classes.
	(riscv_multi_subset_supports_ext): Updated.
	(riscv_parse_check_conflicts): Change error message to include
	zfh and zfhmin extensions.

gas/ChangeLog:

	* testsuite/gas/riscv/zfhmin-d-insn-class-fail.s: New complex
	error handling test.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-1.d: Likewise.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-1.l: Likewise.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-2.d: Likewise.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-2.l: Likewise.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-3.d: Likewise.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-3.l: Likewise.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-4.d: Likewise.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-4.l: Likewise.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-5.d: Likewise.
	* testsuite/gas/riscv/zfhmin-d-insn-class-fail-5.l: Likewise.
	* testsuite/gas/riscv/zhinx.d: Renamed from fp-zhinx-insns.d
	and refactored.
	* testsuite/gas/riscv/zhinx.s: Likewise.

include/ChangeLog:

	* opcode/riscv.h (enum riscv_insn_class): Removed INSN_CLASS_ZFH,
	INSN_CLASS_D_AND_ZFH_INX and INSN_CLASS_Q_AND_ZFH_INX.  Added
	INSN_CLASS_ZFHMIN, INSN_CLASS_ZFHMIN_OR_ZHINXMIN,
	INSN_CLASS_ZFHMIN_AND_D and INSN_CLASS_ZFHMIN_AND_Q.

opcodes/ChangeLog:

	* riscv-opc.c (riscv_opcodes): Change instruction classes for
	Zfh and Zfhmin instructions.  Fix `fcvt.h.lu' instruction
	(two operand variant) mask.
2022-07-07 16:23:54 +08:00
..
aarch64.h opcodes/aarch64: split off creation of comment text in disassembler 2022-06-29 12:03:22 +01:00
alpha.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
arc-attrs.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
arc-func.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
arc.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
arm.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
avr.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
bfin.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cgen.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
ChangeLog-0415
ChangeLog-9103
convex.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cr16.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cris.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
crx.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
csky.h Remove use of bfd_uint64_t and similar 2022-05-27 22:08:59 +09:30
d10v.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
d30v.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
dlx.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
ft32.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
h8300.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
hppa.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
i386.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
ia64.h Remove use of bfd_uint64_t and similar 2022-05-27 22:08:59 +09:30
loongarch.h gas:LoongArch: Fix segment error in compilation due to too long symbol name. 2022-03-20 09:37:12 +08:00
m68hc11.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
m68k.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
metag.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
mips.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
mmix.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
mn10200.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
mn10300.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
moxie.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
msp430-decode.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
msp430.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
nds32.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
nfp.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
nios2.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
nios2r1.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
nios2r2.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
np1.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
ns32k.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pdp11.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pj.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pn.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
ppc.h ppc: extend opindex to 16 bits 2022-05-25 12:13:44 +09:30
pru.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pyr.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
riscv-opc.h RISC-V: Add 'Sstc' extension and its CSRs 2022-06-28 09:08:42 +08:00
riscv.h RISC-V: Added Zfhmin and Zhinxmin. 2022-07-07 16:23:54 +08:00
rl78.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
rx.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
s12z.h
s390.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
score-datadep.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
score-inst.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
sparc.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
spu-insns.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
spu.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
tic4x.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
tic6x-control-registers.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
tic6x-insn-formats.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
tic6x-opcode-table.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
tic6x.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
tic30.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
tic54x.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
tilegx.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
tilepro.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
v850.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
vax.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
visium.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
wasm.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
xgate.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30