RISC-V: Add 2 missing privileged registers.
authorJim Wilson <jimw@sifive.com>
Thu, 4 Jan 2018 22:17:53 +0000 (14:17 -0800)
committerJim Wilson <jimw@sifive.com>
Thu, 4 Jan 2018 22:17:53 +0000 (14:17 -0800)
commit645a2c5b46e18013ac9cb16b66ba7b6b97cd01c5
tree5c9e503894feb151373cf23d3a52693577fb6f26
parent7365ec2ff4a7028503f39655bd2628d54418106c
RISC-V: Add 2 missing privileged registers.

gas/
* testsuite/gas/riscv/priv-reg.s: Add missing stval and mtval.
* testsuite/gas/riscv/priv-reg.d: Likewise.

include/
* opcode/riscv-opc.h (CSR_SBADADDR): Rename to CSR_STVAL.  Rename
DECLARE_CSR entry.  Add alias to map sbadaddr to CSR_STVAL.
(CSR_MBADADDR): Rename to CSR_MTVAL.  Rename DECLARE_CSR entry.
Add alias to map mbadaddr to CSR_MTVAL.
gas/ChangeLog
gas/testsuite/gas/riscv/priv-reg.d
gas/testsuite/gas/riscv/priv-reg.s
include/ChangeLog
include/opcode/riscv-opc.h