aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/sd.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2013-03-25 22:38:32 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2013-03-25 22:38:32 -0700
commit30a89f79b31b101b3ce4481e502e2e7d2529746c (patch)
tree258fb08ac6d15c251a231a111acae12622ef57bf /riscv/insns/sd.h
parentaaf96970cc4b324d8b767c871e682cd9b669eada (diff)
downloadspike-30a89f79b31b101b3ce4481e502e2e7d2529746c.zip
spike-30a89f79b31b101b3ce4481e502e2e7d2529746c.tar.gz
spike-30a89f79b31b101b3ce4481e502e2e7d2529746c.tar.bz2
truncate effective addresses in rv32
also, employ a more efficient instruction dispatch based upon rv32 mode.
Diffstat (limited to 'riscv/insns/sd.h')
-rw-r--r--riscv/insns/sd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/sd.h b/riscv/insns/sd.h
index 2009149..558428e 100644
--- a/riscv/insns/sd.h
+++ b/riscv/insns/sd.h
@@ -1,2 +1,2 @@
require_xpr64;
-mmu.store_uint64(RS1+BIMM, RS2);
+mmu.store_uint64(BTYPE_EADDR, RS2);