From f200d0947a08f65fa42afc9933a37b0608e6e1db Mon Sep 17 00:00:00 2001 From: Schuyler Eldridge Date: Thu, 24 Sep 2015 23:56:41 -0400 Subject: [PATCH] Force C++ emulator to always use 1GB for MEM_SIZE Fixes #17 --- csrc/mm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csrc/mm.h b/csrc/mm.h index 88718707..30727a2a 100644 --- a/csrc/mm.h +++ b/csrc/mm.h @@ -8,7 +8,7 @@ #include const int LINE_SIZE = 64; // all cores assume this. -const size_t MEM_SIZE = (sizeof(long) > 4 ? 4L : 1L) * 1024*1024*1024; +const size_t MEM_SIZE = 1L * 1024*1024*1024; class mm_t {