aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test.sh b/test/test.sh
index b261afa..be5a91f 100644
--- a/test/test.sh
+++ b/test/test.sh
@@ -25,6 +25,13 @@ t () {
echo -n "."
}
+# TODO Tidy and be more systematic, we could just loop
+t "movq %rax, %rax"
+t "movq (%rax), %rax"
+t "movq %rax, (%rax)"
+t "movl %eax, %eax"
+t "movl (%rax), %eax"
+t "movl %eax, (%rax)"
t "leaq (%rax), %rax"
t "leal (%rax), %eax"
t "addq (%rax), %rax"