RISC-V: Add testcase for DWARF register numbers
authorTsukasa OI <research_trasio@irq.a4lg.com>
Thu, 11 Aug 2022 21:20:03 +0000 (06:20 +0900)
committerTsukasa OI <research_trasio@irq.a4lg.com>
Mon, 3 Oct 2022 04:04:30 +0000 (04:04 +0000)
commit61233edc75c8aaa003e7cbe5e129faf6bb7b9126
tree45693d61a5a08637e00c8ef0e5bf17e100279bb6
parente1fc9bcfac62e932da14220d155544e74f497bc8
RISC-V: Add testcase for DWARF register numbers

Although it had csr-dw-regnums.d (for CSRs), it didn't have DWARF register
number test for GPRs/FPRs.

This commit adds dw-regnums.{s,d} to test such registers.

gas/ChangeLog:

* testsuite/gas/riscv/dw-regnums.s: New DWARF register number test
for GPRs/FPRs.
* testsuite/gas/riscv/dw-regnums.d: Likewise.
gas/testsuite/gas/riscv/dw-regnums.d [new file with mode: 0644]
gas/testsuite/gas/riscv/dw-regnums.s [new file with mode: 0644]