RISC-V: Add testcases for z[fdq]inx
authorjiawei <jiawei@iscas.ac.cn>
Wed, 17 Nov 2021 12:10:08 +0000 (20:10 +0800)
committerNelson Chu <nelson.chu@sifive.com>
Thu, 18 Nov 2021 06:43:33 +0000 (14:43 +0800)
commit273a32ac6564647cadfb15600385a003ef7486aa
tree123f07e17d94a98927008871fe4d7d05066a2a42
parentde83e5142d054218f476f7364f795bcaa30efd3f
RISC-V: Add testcases for z[fdq]inx

Use gpr when the zfinx enable, the testcases contain float
instructions that reuse by z[fdq]inx.

gas/ChangeLog:

* testsuite/gas/riscv/zdinx.d: New test.
* testsuite/gas/riscv/zdinx.s: New test.
* testsuite/gas/riscv/zfinx.d: New test.
* testsuite/gas/riscv/zfinx.s: New test.
* testsuite/gas/riscv/zqinx.d: New test.
* testsuite/gas/riscv/zqinx.s: New test.

Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
gas/testsuite/gas/riscv/zdinx.d [new file with mode: 0644]
gas/testsuite/gas/riscv/zdinx.s [new file with mode: 0644]
gas/testsuite/gas/riscv/zfinx.d [new file with mode: 0644]
gas/testsuite/gas/riscv/zfinx.s [new file with mode: 0644]
gas/testsuite/gas/riscv/zqinx.d [new file with mode: 0644]
gas/testsuite/gas/riscv/zqinx.s [new file with mode: 0644]