]> Nishi Git Mirror - gwion.git/commitdiff
:art: move VM defines
authorfennecdjay <fennecdjay@gmail.com>
Sat, 17 Feb 2024 15:36:59 +0000 (16:36 +0100)
committerfennecdjay <fennecdjay@gmail.com>
Sat, 17 Feb 2024 15:36:59 +0000 (16:36 +0100)
include/vm.h
util

index d8632a67d5f3ada233c8b38d578aacc100b9f688..f74e8bab6cda0a4a5756774f5ba8cf792485161a 100644 (file)
@@ -146,4 +146,9 @@ ANN bool unwind(const VM_Shred shred, const Symbol effect, const m_uint size);
 #define BBQ_POS_MAX 16777216
 
 ANN void next_bbq_pos(const VM *vm);
+
+#define MEM_STEP   16
+#define SIZEOF_MEM (0x1 << MEM_STEP)
+#define SIZEOF_REG (0x1 << 14)
+
 #endif
diff --git a/util b/util
index b40e724007166f6b91aed62ac5a0743ada9037fe..ee0fbca067438890e3dfb2e77968d4300a10bb4f 160000 (submodule)
--- a/util
+++ b/util
@@ -1 +1 @@
-Subproject commit b40e724007166f6b91aed62ac5a0743ada9037fe
+Subproject commit ee0fbca067438890e3dfb2e77968d4300a10bb4f