summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-11-26 08:28:25 -0800
committerH.J. Lu <hjl.tools@gmail.com>2017-11-26 08:32:26 -0800
commit8e2495f2f75120baae14f9dac9d29b043c539b2b (patch)
treece553690b1a585276d718d5c6074ae489e2758d2 /gas/testsuite/gas
parent58f7f0bf542ff9b712ef1ed6a6e1a6da563b9054 (diff)
gas: Update x86 sse-noavx tests
This fixed: FAIL: i386 SSE without AVX equivalent FAIL: x86-64 SSE without AVX equivalent FAIL: x86-64 (ILP32) SSE without AVX equivalent on x86-64. * testsuite/gas/i386/sse-noavx.s: Add tests for fisttps and fisttpl. * testsuite/gas/i386/x86-64-sse-noavx.s: Likewise. * testsuite/gas/i386/ilp32/x86-64-sse-noavx.d: Updated. * testsuite/gas/i386/sse-noavx.d: Likewise. * testsuite/gas/i386/x86-64-sse-noavx.d: Likewise.
Diffstat (limited to 'gas/testsuite/gas')
-rw-r--r--gas/testsuite/gas/i386/ilp32/x86-64-sse-noavx.d1
-rw-r--r--gas/testsuite/gas/i386/sse-noavx.d1
-rw-r--r--gas/testsuite/gas/i386/sse-noavx.s2
-rw-r--r--gas/testsuite/gas/i386/x86-64-sse-noavx.d1
-rw-r--r--gas/testsuite/gas/i386/x86-64-sse-noavx.s2
5 files changed, 7 insertions, 0 deletions
diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-sse-noavx.d b/gas/testsuite/gas/i386/ilp32/x86-64-sse-noavx.d
index cb9fa05b29..4a24c33443 100644
--- a/gas/testsuite/gas/i386/ilp32/x86-64-sse-noavx.d
+++ b/gas/testsuite/gas/i386/ilp32/x86-64-sse-noavx.d
@@ -17,6 +17,7 @@ Disassembly of section .text:
[ ]*[a-f0-9]+: 66 0f 2c dc cvttpd2pi %xmm4,%mm3
[ ]*[a-f0-9]+: 0f 2c dc cvttps2pi %xmm4,%mm3
[ ]*[a-f0-9]+: df 08 fisttps \(%rax\)
+[ ]*[a-f0-9]+: df 08 fisttps \(%rax\)
[ ]*[a-f0-9]+: db 08 fisttpl \(%rax\)
[ ]*[a-f0-9]+: dd 08 fisttpll \(%rax\)
[ ]*[a-f0-9]+: 0f ae e8 lfence
diff --git a/gas/testsuite/gas/i386/sse-noavx.d b/gas/testsuite/gas/i386/sse-noavx.d
index d422909150..0fbb874cca 100644
--- a/gas/testsuite/gas/i386/sse-noavx.d
+++ b/gas/testsuite/gas/i386/sse-noavx.d
@@ -15,6 +15,7 @@ Disassembly of section .text:
[ ]*[a-f0-9]+: 66 0f 2c dc cvttpd2pi %xmm4,%mm3
[ ]*[a-f0-9]+: 0f 2c dc cvttps2pi %xmm4,%mm3
[ ]*[a-f0-9]+: df 08 fisttps \(%eax\)
+[ ]*[a-f0-9]+: df 08 fisttps \(%eax\)
[ ]*[a-f0-9]+: db 08 fisttpl \(%eax\)
[ ]*[a-f0-9]+: dd 08 fisttpll \(%eax\)
[ ]*[a-f0-9]+: 0f ae e8 lfence
diff --git a/gas/testsuite/gas/i386/sse-noavx.s b/gas/testsuite/gas/i386/sse-noavx.s
index 900c9e5122..42d1c3dd36 100644
--- a/gas/testsuite/gas/i386/sse-noavx.s
+++ b/gas/testsuite/gas/i386/sse-noavx.s
@@ -10,6 +10,8 @@ _start:
cvttpd2pi %xmm4,%mm3
cvttps2pi %xmm4,%mm3
fisttp (%eax)
+ fisttps (%eax)
+ fisttpl (%eax)
fisttpll (%eax)
lfence
maskmovq %mm7,%mm0
diff --git a/gas/testsuite/gas/i386/x86-64-sse-noavx.d b/gas/testsuite/gas/i386/x86-64-sse-noavx.d
index d500a20bb2..4d75f246cc 100644
--- a/gas/testsuite/gas/i386/x86-64-sse-noavx.d
+++ b/gas/testsuite/gas/i386/x86-64-sse-noavx.d
@@ -16,6 +16,7 @@ Disassembly of section .text:
[ ]*[a-f0-9]+: 66 0f 2c dc cvttpd2pi %xmm4,%mm3
[ ]*[a-f0-9]+: 0f 2c dc cvttps2pi %xmm4,%mm3
[ ]*[a-f0-9]+: df 08 fisttps \(%rax\)
+[ ]*[a-f0-9]+: df 08 fisttps \(%rax\)
[ ]*[a-f0-9]+: db 08 fisttpl \(%rax\)
[ ]*[a-f0-9]+: dd 08 fisttpll \(%rax\)
[ ]*[a-f0-9]+: 0f ae e8 lfence
diff --git a/gas/testsuite/gas/i386/x86-64-sse-noavx.s b/gas/testsuite/gas/i386/x86-64-sse-noavx.s
index 69e7e96792..f1795ea5c1 100644
--- a/gas/testsuite/gas/i386/x86-64-sse-noavx.s
+++ b/gas/testsuite/gas/i386/x86-64-sse-noavx.s
@@ -11,6 +11,8 @@ _start:
cvttpd2pi %xmm4,%mm3
cvttps2pi %xmm4,%mm3
fisttp (%rax)
+ fisttps (%rax)
+ fisttpl (%rax)
fisttpll (%rax)
lfence
maskmovq %mm7,%mm0