aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Chambers <[email protected]>2021-10-09 23:45:16 +1300
committerAndrew Chambers <[email protected]>2021-10-09 23:45:16 +1300
commit5ccab989e58d0bb2d643dfaec51dbea0734ce05f (patch)
tree3420b6192145b819c9832c50787b94eab856368b /test
parenta3edd52b53b236a2b88049e634981e8dc7b0bc4d (diff)
Add div/idiv.
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 cf5660b..05d40bf 100644
--- a/test/test.sh
+++ b/test/test.sh
@@ -30,6 +30,13 @@ t () {
echo -n "."
}
+t "div %rax"
+t "divq (%rax)"
+t "divq (%rip)"
+t "idiv %rax"
+t "idivq (%rax)"
+t "idivq (%rip)"
+
t "pushq (%r9)"
t "pushq %r9"
t "pushq %rax"