RISC-V: Fix minor issues with FP csr instructions.
authorJim Wilson <jimw@sifive.com>
Tue, 30 Jul 2019 21:42:16 +0000 (14:42 -0700)
committerJim Wilson <jimw@sifive.com>
Tue, 30 Jul 2019 21:42:16 +0000 (14:42 -0700)
commitc0d6f62fcec939ab896e4839f6aa14ebfcd43565
tree7fd7bc88c705fde3cbfb775f47aadf88e6d0937d
parentaa3b653351504e262fb455af5efb6eea6d981597
RISC-V: Fix minor issues with FP csr instructions.

Mel Chen <mel.chen@sifive.com>
gas/
* testsuite/gas/riscv/alias-csr.s: Add testcase for CSR-access
alias instructions.
* testsuite/gas/riscv/no-aliases-csr.d: Run testcase alias-csr.s with
-Mno-aliases.
* testsuite/gas/riscv/alias-csr.d: Run testcase alias-csr.s.
* testsuite/gas/riscv/priv-reg.d: Update.
opcodes/
* riscv-opc.c (riscv_opcodes): Set frsr, fssr, frcsr, fscsr, frrm,
fsrm, fsrmi, frflags, fsflags, fsflagsi to alias instructions.
* riscv-opc.c (riscv_opcodes): Adjust order of frsr, frcsr, fssr,
fscsr.
gas/ChangeLog
gas/testsuite/gas/riscv/alias-csr.d [new file with mode: 0644]
gas/testsuite/gas/riscv/alias-csr.s [new file with mode: 0644]
gas/testsuite/gas/riscv/no-aliases-csr.d [new file with mode: 0644]
gas/testsuite/gas/riscv/priv-reg.d
opcodes/ChangeLog
opcodes/riscv-opc.c