summaryrefslogtreecommitdiff
path: root/ujit_asm_tests.c
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2020-09-04 15:56:00 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:22 -0400
commit0a5dcc056e22bab849d8d7877928d300201af823 (patch)
treeb633cb97d8bacda6f8b5a5df533404c260a2e565 /ujit_asm_tests.c
parent07dd5f22a5d3127981eea7602bd3d6c221f5d12e (diff)
Progress on porting x86 assembler for MicroJIT
Diffstat (limited to 'ujit_asm_tests.c')
-rw-r--r--ujit_asm_tests.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/ujit_asm_tests.c b/ujit_asm_tests.c
new file mode 100644
index 0000000000..0c94fb8b04
--- /dev/null
+++ b/ujit_asm_tests.c
@@ -0,0 +1,31 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include "ujit_asm.h"
+
+//fprintf(stderr, format);
+//exit(-1)
+
+void run_tests()
+{
+ printf("Running assembler tests\n");
+
+ codeblock_t cb;
+ cb_init(&cb, 4096);
+
+
+
+
+
+
+
+
+
+ printf("Assembler tests done\n");
+}
+
+int main(int argc, char** argv)
+{
+ run_tests();
+
+ return 0;
+}