RISC-V: Relax "fmv.[sdq]" requirements
authorTsukasa OI <research_trasio@irq.a4lg.com>
Tue, 1 Feb 2022 10:00:00 +0000 (19:00 +0900)
committerTsukasa OI <research_trasio@irq.a4lg.com>
Fri, 30 Sep 2022 15:10:27 +0000 (15:10 +0000)
commitcfc0ffd31e90972296b81d362a7d83eb60eb21c0
treed37a7835a92423b21f80605a1d43592d50444886
parent38cb335c7645d70eff612efd33ba5e52d9591802
RISC-V: Relax "fmv.[sdq]" requirements

This commit relaxes requirements to "fmv.s" instructions from 'F' to ('F'
or 'Zfinx').  The same applies to "fmv.d" and "fmv.q".  Note that 'Zhinx'
extension already contains "fmv.h" instruction (as well as 'Zfh').

gas/ChangeLog:

* testsuite/gas/riscv/zfinx.s: Add "fmv.s" instruction.
* testsuite/gas/riscv/zfinx.d: Likewise.
* testsuite/gas/riscv/zdinx.s: Add "fmv.d" instruction.
* testsuite/gas/riscv/zdinx.d: Likewise.
* testsuite/gas/riscv/zqinx.d: Add "fmv.q" instruction.
* testsuite/gas/riscv/zqinx.s: Likewise.

opcodes/ChangeLog:

* riscv-opc.c (riscv_opcodes): Relax requirements to "fmv.[sdq]"
instructions to support those in 'Zfinx'/'Zdinx'/'Zqinx'.
gas/testsuite/gas/riscv/zdinx.d
gas/testsuite/gas/riscv/zdinx.s
gas/testsuite/gas/riscv/zfinx.d
gas/testsuite/gas/riscv/zfinx.s
gas/testsuite/gas/riscv/zqinx.d
gas/testsuite/gas/riscv/zqinx.s
opcodes/riscv-opc.c