projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[opcodes, sim, xcc] made *w insns illegal in RV32
[riscv-isa-sim.git]
/
riscv
/
insns
/
amo_max.h
diff --git
a/riscv/insns/amo_max.h
b/riscv/insns/amo_max.h
index f67f1a3038e4bdaf9ba102dd854e07b83b882349..1a0bc8afbcc733dbe2ce6542b921e148d11212f1 100644
(file)
--- a/
riscv/insns/amo_max.h
+++ b/
riscv/insns/amo_max.h
@@
-1,4
+1,4
@@
-require64;
+require
_xpr
64;
sreg_t v = mmu.load_int64(RS1);
mmu.store_uint64(RS1, std::max(sreg_t(RS2),v));
RD = v;