projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use xlen, not xprlen, to refer to x-register width
[riscv-isa-sim.git]
/
riscv
/
insns
/
add.h
diff --git
a/riscv/insns/add.h
b/riscv/insns/add.h
index d7a5c98d21867debe16657aad778d6b1be191c7e..895e2b1867dbf29aee59a86fc68fcbad5e2535f1 100644
(file)
--- a/
riscv/insns/add.h
+++ b/
riscv/insns/add.h
@@
-1
+1
@@
-WRITE_RD(sext_x
pr
len(RS1 + RS2));
+WRITE_RD(sext_xlen(RS1 + RS2));