aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Chambers <[email protected]>2021-10-15 19:51:03 +1300
committerAndrew Chambers <[email protected]>2021-10-15 19:51:03 +1300
commit40739d6fb733229732ec2e6ad808ef9002df2ad8 (patch)
tree03b30621efa22a5cd990acb00958dc2373da13ae /test
parentb457444efaa0afcdb41601ca86a10bb81bbbd8c1 (diff)
Pass more tests.
Diffstat (limited to 'test')
-rw-r--r--test/test.sh28
1 files changed, 26 insertions, 2 deletions
diff --git a/test/test.sh b/test/test.sh
index 0a89b61..256654e 100644
--- a/test/test.sh
+++ b/test/test.sh
@@ -128,6 +128,32 @@ t "movss %xmm0, %xmm1"
t "movss %xmm10, (%rax)"
t "movss (%rax), %xmm10"
+t "addsd %xmm0, %xmm1"
+t "addsd (%rax), %xmm1"
+t "addsd %xmm10, %xmm1"
+t "addsd %xmm1, %xmm10"
+t "addsd %xmm10, %xmm11"
+t "addsd (%rax), %xmm11"
+t "addss %xmm0, %xmm1"
+t "addss (%rax), %xmm1"
+t "addss %xmm10, %xmm1"
+t "addss %xmm1, %xmm10"
+t "addss %xmm10, %xmm11"
+t "addss (%rax), %xmm11"
+
+t "subsd %xmm0, %xmm1"
+t "subsd (%rax), %xmm1"
+t "subsd %xmm10, %xmm1"
+t "subsd %xmm1, %xmm10"
+t "subsd %xmm10, %xmm11"
+t "subsd (%rax), %xmm11"
+t "subss %xmm0, %xmm1"
+t "subss (%rax), %xmm1"
+t "subss %xmm10, %xmm1"
+t "subss %xmm1, %xmm10"
+t "subss %xmm10, %xmm11"
+t "subss (%rax), %xmm11"
+
t "mulsd %xmm0, %xmm1"
t "mulsd (%rax), %xmm1"
t "mulsd %xmm10, %xmm1"
@@ -270,8 +296,6 @@ 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"