RISC-V: Remove RV128-only fmv instructions
authorTsukasa OI <research_trasio@irq.a4lg.com>
Fri, 20 May 2022 11:51:49 +0000 (20:51 +0900)
committerNelson Chu <nelson.chu@sifive.com>
Fri, 20 May 2022 14:21:30 +0000 (22:21 +0800)
commitaa8c9d60a6fc8865a5c4131aab243bf97b961e2c
tree3b19354c999a0b2be87240673c027e9cfcb5925f
parentf270fd72f6694daa74cbd4d42a1ed3aaeddb8e38
RISC-V: Remove RV128-only fmv instructions

As fmv.x.q and fmv.q.x instructions are RV128-only (not RV64-only),
it should be removed until RV128 support for GNU Binutils is required
again.

gas/ChangeLog:

* testsuite/gas/riscv/fmv.x.q-rv64-fail.d: New failure test.
* testsuite/gas/riscv/fmv.x.q-rv64-fail.l: Likewise.
* testsuite/gas/riscv/fmv.x.q-rv64-fail.s: Likewise.

include/ChangeLog:

* opcode/riscv-opc.h (MATCH_FMV_X_Q, MASK_FMV_X_Q,
MATCH_FMV_Q_X, MASK_FMV_Q_X): Remove RV128-only instructions.

opcodes/ChangeLog:

* riscv-opc.c (riscv_opcodes): Remove RV128-only instructions.
gas/testsuite/gas/riscv/fmv.x.q-rv64-fail.d [new file with mode: 0644]
gas/testsuite/gas/riscv/fmv.x.q-rv64-fail.l [new file with mode: 0644]
gas/testsuite/gas/riscv/fmv.x.q-rv64-fail.s [new file with mode: 0644]
include/opcode/riscv-opc.h
opcodes/riscv-opc.c