diff options
author | Andrew Waterman <waterman@eecs.berkeley.edu> | 2013-12-09 15:55:52 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@eecs.berkeley.edu> | 2013-12-09 15:55:52 -0800 |
commit | e85cb99c5e042ebce78f64213677a48ee7ba0491 (patch) | |
tree | 1f0a189a5b2792164d14c8f63bc513cc6f2893a2 /riscv/insns/csrrw.h | |
parent | aedcd67ac8133ea71de7ff37b772c1533b038c93 (diff) | |
download | spike-e85cb99c5e042ebce78f64213677a48ee7ba0491.zip spike-e85cb99c5e042ebce78f64213677a48ee7ba0491.tar.gz spike-e85cb99c5e042ebce78f64213677a48ee7ba0491.tar.bz2 |
New RDCYCLE encoding
Diffstat (limited to 'riscv/insns/csrrw.h')
-rw-r--r-- | riscv/insns/csrrw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/csrrw.h b/riscv/insns/csrrw.h index fbccb77..4b16773 100644 --- a/riscv/insns/csrrw.h +++ b/riscv/insns/csrrw.h @@ -1,2 +1,2 @@ -int csr = validate_csr(insn.i_imm(), true); +int csr = validate_csr(insn.csr(), true); WRITE_RD(p->set_pcr(csr, RS1)); |