From 04c2d491c4bbb424a59273d4ebee62ddfe3379f9 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Sun, 11 Aug 2013 19:10:51 -0700 Subject: Instructions are no longer member functions --- riscv/insns/amomax_w.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'riscv/insns/amomax_w.h') diff --git a/riscv/insns/amomax_w.h b/riscv/insns/amomax_w.h index ff9c2da..1f68a8b 100644 --- a/riscv/insns/amomax_w.h +++ b/riscv/insns/amomax_w.h @@ -1,3 +1,3 @@ -int32_t v = mmu.load_int32(RS1); -mmu.store_uint32(RS1, std::max(int32_t(RS2),v)); +int32_t v = MMU.load_int32(RS1); +MMU.store_uint32(RS1, std::max(int32_t(RS2),v)); RD = v; -- cgit v1.1