diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-02-08 00:13:48 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-02-08 00:13:48 -0800 |
commit | e671e751982cfa065bb6430a0b5b33cd5f9ddfec (patch) | |
tree | de3391e3c20d1c8d6d8bafd5f4b8fb01b3f7464f /riscv/insns/csrrs.h | |
parent | d8022e9eda1d83211b42c523483f6d9f7da3cefa (diff) | |
download | spike-e671e751982cfa065bb6430a0b5b33cd5f9ddfec.zip spike-e671e751982cfa065bb6430a0b5b33cd5f9ddfec.tar.gz spike-e671e751982cfa065bb6430a0b5b33cd5f9ddfec.tar.bz2 |
Use xlen, not xprlen, to refer to x-register width
Diffstat (limited to 'riscv/insns/csrrs.h')
-rw-r--r-- | riscv/insns/csrrs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/csrrs.h b/riscv/insns/csrrs.h index 675cb86..6616855 100644 --- a/riscv/insns/csrrs.h +++ b/riscv/insns/csrrs.h @@ -1,4 +1,4 @@ int csr = validate_csr(insn.csr(), insn.rs1() != 0); reg_t old = p->get_pcr(csr); p->set_pcr(csr, old | RS1); -WRITE_RD(sext_xprlen(old)); +WRITE_RD(sext_xlen(old)); |