RISC-V: Reorganize and enhance 'Zfinx' tests
authorTsukasa OI <research_trasio@irq.a4lg.com>
Fri, 27 May 2022 11:25:53 +0000 (20:25 +0900)
committerTsukasa OI <research_trasio@irq.a4lg.com>
Fri, 30 Sep 2022 15:10:27 +0000 (15:10 +0000)
commit38cb335c7645d70eff612efd33ba5e52d9591802
tree6329f48d53a956e5566d979c7b312d2d11fa6ce1
parenta6eeb20a42a854f9127dcf1a0b54ed8c4f50f27c
RISC-V: Reorganize and enhance 'Zfinx' tests

This commit adds certain test cases for 'Zfinx'/'Zdinx'/'Zqinx' extensions
and reorganizes them, fixing coding style while improving coverage.
This is partially based on jiawei's 'Zhinx' testcases.

gas/ChangeLog:

* testsuite/gas/riscv/zfinx.s: Use different registers for
better encode space testing.  Make indentation consistent.
Add tests for instruction with rounding mode.  Change march
to minimum required extensions.  Remove source line.
* testsuite/gas/riscv/zfinx.d: Likewise.
* testsuite/gas/riscv/zdinx.s: Likewise.
* testsuite/gas/riscv/zdinx.d: Likewise.
* testsuite/gas/riscv/zqinx.s: Likewise.
Also use even-numbered registers to use valid register pairs.
* testsuite/gas/riscv/zqinx.d: Likewise.

Signed-off-by: Tsukasa OI <research_trasio@irq.a4lg.com>
Signed-off-by: jiawei <jiawei@iscas.ac.cn>
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