projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06edcd9
)
redirect add to rv_add
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 14 Oct 2018 04:22:43 +0000
(
05:22
+0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 14 Oct 2018 04:22:43 +0000
(
05:22
+0100)
riscv/insns/addw.h
patch
|
blob
|
history
diff --git
a/riscv/insns/addw.h
b/riscv/insns/addw.h
index 706dc9c8f98b55be4bcc43d4bb7693d13bf738f5..2a9dae5e4e0dc4fdf87b7309abb63145dec9c62a 100644
(file)
--- a/
riscv/insns/addw.h
+++ b/
riscv/insns/addw.h
@@
-1,2
+1,2
@@
require_rv64;
-WRITE_RD(sext32(
RS1 + RS2
));
+WRITE_RD(sext32(
rv_add(RS1, RS2)
));