aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/addi.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2015-02-08 00:13:48 -0800
committerAndrew Waterman <waterman@cs.berkeley.edu>2015-02-08 00:13:48 -0800
commite671e751982cfa065bb6430a0b5b33cd5f9ddfec (patch)
treede3391e3c20d1c8d6d8bafd5f4b8fb01b3f7464f /riscv/insns/addi.h
parentd8022e9eda1d83211b42c523483f6d9f7da3cefa (diff)
downloadriscv-isa-sim-e671e751982cfa065bb6430a0b5b33cd5f9ddfec.zip
riscv-isa-sim-e671e751982cfa065bb6430a0b5b33cd5f9ddfec.tar.gz
riscv-isa-sim-e671e751982cfa065bb6430a0b5b33cd5f9ddfec.tar.bz2
Use xlen, not xprlen, to refer to x-register width
Diffstat (limited to 'riscv/insns/addi.h')
-rw-r--r--riscv/insns/addi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/addi.h b/riscv/insns/addi.h
index c861a97..1bb5dce 100644
--- a/riscv/insns/addi.h
+++ b/riscv/insns/addi.h
@@ -1 +1 @@
-WRITE_RD(sext_xprlen(RS1 + insn.i_imm()));
+WRITE_RD(sext_xlen(RS1 + insn.i_imm()));