aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog8
-rw-r--r--gas/testsuite/gas/i386/sse-noavx.d3
-rw-r--r--gas/testsuite/gas/i386/sse-noavx.s3
-rw-r--r--gas/testsuite/gas/i386/x86-64-sse-noavx.d3
-rw-r--r--gas/testsuite/gas/i386/x86-64-sse-noavx.s3
5 files changed, 20 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index d3913b0..b468eca 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,13 @@
2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
+ * gas/i386/sse-noavx.s: Add tests for lfence, mfence and movnti.
+ * gas/i386/x86-64-sse-noavx.s: Likewise.
+
+ * gas/i386/sse-noavx.d: Updated.
+ * gas/i386/x86-64-sse-noavx.d: Likewise.
+
+2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
+
* gas/i386/opts.s: Add tests for add, adc, and, cmp, or, sbb,
sub and xor.
* gas/i386/x86-64-opts.s: Likewise.
diff --git a/gas/testsuite/gas/i386/sse-noavx.d b/gas/testsuite/gas/i386/sse-noavx.d
index 518e9d5..dbf6224 100644
--- a/gas/testsuite/gas/i386/sse-noavx.d
+++ b/gas/testsuite/gas/i386/sse-noavx.d
@@ -16,9 +16,12 @@ Disassembly of section .text:
[ ]*[a-f0-9]+: 0f 2c dc cvttps2pi %xmm4,%mm3
[ ]*[a-f0-9]+: df 08 fisttp \(%eax\)
[ ]*[a-f0-9]+: dd 08 fisttpll \(%eax\)
+[ ]*[a-f0-9]+: 0f ae e8 lfence
[ ]*[a-f0-9]+: 0f f7 c7 maskmovq %mm7,%mm0
+[ ]*[a-f0-9]+: 0f ae f0 mfence
[ ]*[a-f0-9]+: 0f 01 c8 monitor %eax,%ecx,%edx
[ ]*[a-f0-9]+: f2 0f d6 c8 movdq2q %xmm0,%mm1
+[ ]*[a-f0-9]+: 0f c3 00 movnti %eax,\(%eax\)
[ ]*[a-f0-9]+: 0f e7 10 movntq %mm2,\(%eax\)
[ ]*[a-f0-9]+: f3 0f d6 c8 movq2dq %mm0,%xmm1
[ ]*[a-f0-9]+: 0f 01 c9 mwait %eax,%ecx
diff --git a/gas/testsuite/gas/i386/sse-noavx.s b/gas/testsuite/gas/i386/sse-noavx.s
index e0a5b54..900c9e5 100644
--- a/gas/testsuite/gas/i386/sse-noavx.s
+++ b/gas/testsuite/gas/i386/sse-noavx.s
@@ -11,9 +11,12 @@ _start:
cvttps2pi %xmm4,%mm3
fisttp (%eax)
fisttpll (%eax)
+ lfence
maskmovq %mm7,%mm0
+ mfence
monitor
movdq2q %xmm0, %mm1
+ movnti %eax, (%eax)
movntq %mm2,(%eax)
movq2dq %mm0, %xmm1
mwait
diff --git a/gas/testsuite/gas/i386/x86-64-sse-noavx.d b/gas/testsuite/gas/i386/x86-64-sse-noavx.d
index 32846a6..5fa1fea 100644
--- a/gas/testsuite/gas/i386/x86-64-sse-noavx.d
+++ b/gas/testsuite/gas/i386/x86-64-sse-noavx.d
@@ -17,9 +17,12 @@ Disassembly of section .text:
[ ]*[a-f0-9]+: 0f 2c dc cvttps2pi %xmm4,%mm3
[ ]*[a-f0-9]+: df 08 fisttp \(%rax\)
[ ]*[a-f0-9]+: dd 08 fisttpll \(%rax\)
+[ ]*[a-f0-9]+: 0f ae e8 lfence
[ ]*[a-f0-9]+: 0f f7 c7 maskmovq %mm7,%mm0
+[ ]*[a-f0-9]+: 0f ae f0 mfence
[ ]*[a-f0-9]+: 0f 01 c8 monitor %rax,%rcx,%rdx
[ ]*[a-f0-9]+: f2 0f d6 c8 movdq2q %xmm0,%mm1
+[ ]*[a-f0-9]+: 0f c3 00 movnti %eax,\(%rax\)
[ ]*[a-f0-9]+: 0f e7 10 movntq %mm2,\(%rax\)
[ ]*[a-f0-9]+: f3 0f d6 c8 movq2dq %mm0,%xmm1
[ ]*[a-f0-9]+: 0f 01 c9 mwait %rax,%rcx
diff --git a/gas/testsuite/gas/i386/x86-64-sse-noavx.s b/gas/testsuite/gas/i386/x86-64-sse-noavx.s
index 08a8c22..69e7e96 100644
--- a/gas/testsuite/gas/i386/x86-64-sse-noavx.s
+++ b/gas/testsuite/gas/i386/x86-64-sse-noavx.s
@@ -12,9 +12,12 @@ _start:
cvttps2pi %xmm4,%mm3
fisttp (%rax)
fisttpll (%rax)
+ lfence
maskmovq %mm7,%mm0
+ mfence
monitor
movdq2q %xmm0, %mm1
+ movnti %eax, (%rax)
movntq %mm2,(%rax)
movq2dq %mm0, %xmm1
mwait