aboutsummaryrefslogtreecommitdiff
path: root/test/test.sh
diff options
context:
space:
mode:
authorAndrew Chambers <[email protected]>2021-10-15 18:08:21 +1300
committerAndrew Chambers <[email protected]>2021-10-15 18:08:21 +1300
commitb457444efaa0afcdb41601ca86a10bb81bbbd8c1 (patch)
tree51687407d150861b4cdec2b2d84de5acbae5c438 /test/test.sh
parentbd5990843a77278a8f7e205131e42f89463225f4 (diff)
Add movq.
Diffstat (limited to 'test/test.sh')
-rw-r--r--test/test.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/test.sh b/test/test.sh
index 84b14d5..0a89b61 100644
--- a/test/test.sh
+++ b/test/test.sh
@@ -30,6 +30,17 @@ t () {
echo -n "."
}
+for r in rax r10
+do
+ for x in xmm0 xmm13
+ do
+ t "movq %${x}, %${r}"
+ t "movq %${r}, %${x}"
+ t "movq %${x}, (%${r})"
+ t "movq (%${r}), %${x}"
+ done
+done
+
t "movl \$1000, %r8d"
t "movb %sil, (%rdi)"
@@ -259,6 +270,8 @@ t "movb \$127, (%rbp)"
t "movb \$127, 2147483647(%rsp)"
t "movb \$127, 2147483647(%rbp)"
+
+
for x in s z
do
t "mov${x}bw %al, %bx"