about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--miasm2/jitter/op_semantics.c4
-rw-r--r--miasm2/jitter/op_semantics.h3
-rwxr-xr-xtest/test_all.py1
3 files changed, 7 insertions, 1 deletions
diff --git a/miasm2/jitter/op_semantics.c b/miasm2/jitter/op_semantics.c
index 5a8becc4..0420532a 100644
--- a/miasm2/jitter/op_semantics.c
+++ b/miasm2/jitter/op_semantics.c
@@ -778,15 +778,19 @@ uint64_t double_to_mem_64(double d)
 UDIV(16)
 UDIV(32)
 UDIV(64)
+UDIV(128)
 
 UMOD(16)
 UMOD(32)
 UMOD(64)
+UMOD(128)
 
 IDIV(16)
 IDIV(32)
 IDIV(64)
+IDIV(128)
 
 IMOD(16)
 IMOD(32)
 IMOD(64)
+IMOD(128)
diff --git a/miasm2/jitter/op_semantics.h b/miasm2/jitter/op_semantics.h
index fec140e7..3eb81cff 100644
--- a/miasm2/jitter/op_semantics.h
+++ b/miasm2/jitter/op_semantics.h
@@ -1,6 +1,9 @@
 #ifndef OP_SEMANTICS_H
 #define OP_SEMANTICS_H
 
+#define uint128_t __uint128_t
+#define int128_t __int128_t
+
 #define CC_P 1
 extern const uint8_t parity_table[256];
 #define parity(a) parity_table[(a) & 0xFF]
diff --git a/test/test_all.py b/test/test_all.py
index 52873f4b..3572bda7 100755
--- a/test/test_all.py
+++ b/test/test_all.py
@@ -59,7 +59,6 @@ class ArchUnitTest(RegressionTest):
 # script -> blacklisted jitter
 blacklist = {
     "x86/unit/mn_float.py": ["python", "llvm"],
-    "x86/unit/mn_div.py": ["gcc"],
 }
 for script in ["x86/sem.py",
                "x86/unit/mn_strings.py",