diff options
| author | Andrew Chambers <[email protected]> | 2021-10-15 19:51:03 +1300 |
|---|---|---|
| committer | Andrew Chambers <[email protected]> | 2021-10-15 19:51:03 +1300 |
| commit | 40739d6fb733229732ec2e6ad808ef9002df2ad8 (patch) | |
| tree | 03b30621efa22a5cd990acb00958dc2373da13ae /test | |
| parent | b457444efaa0afcdb41601ca86a10bb81bbbd8c1 (diff) | |
Pass more tests.
Diffstat (limited to 'test')
| -rw-r--r-- | test/test.sh | 28 |
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" |
