summaryrefslogtreecommitdiff
path: root/test_asm.sh
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2020-09-08 16:45:35 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:22 -0400
commit8f40a62647cd7b961faac6b810053b87502d3994 (patch)
treec129b4ce77c324aa52392b8be8bcc459bcf59365 /test_asm.sh
parent5cf7ccd24a9303b2a591bc0289159517cee6e851 (diff)
Progress on x86 assembler. Encode a few simple instructions.
Diffstat (limited to 'test_asm.sh')
-rwxr-xr-xtest_asm.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/test_asm.sh b/test_asm.sh
index 446dd36d65..6a48bf5112 100755
--- a/test_asm.sh
+++ b/test_asm.sh
@@ -1,6 +1,10 @@
# NOTE: I did not know what would be the sensible way to compile
# and run these tests from the Ruby makefile
-clang -std=c99 -Wall ujit_asm.c ujit_asm_tests.c -o asm_test
+clear
+
+clang -std=gnu99 -Wall ujit_asm.c ujit_asm_tests.c -o asm_test
./asm_test
+
+rm asm_test