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/prescott.d4
-rw-r--r--gas/testsuite/gas/i386/prescott.s4
-rw-r--r--gas/testsuite/gas/i386/x86-64-prescott.d4
-rw-r--r--gas/testsuite/gas/i386/x86-64-prescott.s4
5 files changed, 20 insertions, 4 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 120984a..5f2f9f0 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,13 @@
2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
+ * gas/i386/prescott.s: Add tests for movddup in Intel syntax.
+ * gas/i386/x86-64-prescott.s: Likewise.
+
+ * gas/i386/prescott.d: Updated.
+ * gas/i386/x86-64-prescott.d: Likewise.
+
+2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
+
* gas/i386/i386.s: Add more tests for movsx and movzx.
* gas/i386/x86_64.s: Likewise.
diff --git a/gas/testsuite/gas/i386/prescott.d b/gas/testsuite/gas/i386/prescott.d
index 9b701c0..ed38509 100644
--- a/gas/testsuite/gas/i386/prescott.d
+++ b/gas/testsuite/gas/i386/prescott.d
@@ -34,4 +34,6 @@ Disassembly of section .text:
69: 0f 01 c9 [ ]*mwait %eax,%ecx
6c: 67 0f 01 c8 [ ]*monitor %ax,%ecx,%edx
70: 67 0f 01 c8 [ ]*monitor %ax,%ecx,%edx
- ...
+ 74: f2 0f 12 38 [ ]*movddup \(%eax\),%xmm7
+ 78: f2 0f 12 38 [ ]*movddup \(%eax\),%xmm7
+#pass
diff --git a/gas/testsuite/gas/i386/prescott.s b/gas/testsuite/gas/i386/prescott.s
index 95dacf7..6049c97 100644
--- a/gas/testsuite/gas/i386/prescott.s
+++ b/gas/testsuite/gas/i386/prescott.s
@@ -32,4 +32,6 @@ foo:
monitor %ax,%ecx,%edx
addr16 monitor
- .p2align 4,0
+ .intel_syntax noprefix
+ movddup xmm7,[eax]
+ movddup xmm7,QWORD PTR [eax]
diff --git a/gas/testsuite/gas/i386/x86-64-prescott.d b/gas/testsuite/gas/i386/x86-64-prescott.d
index 26b9e6e..943ad3e 100644
--- a/gas/testsuite/gas/i386/x86-64-prescott.d
+++ b/gas/testsuite/gas/i386/x86-64-prescott.d
@@ -34,4 +34,6 @@ Disassembly of section .text:
69: 0f 01 c9 [ ]*mwait %rax,%rcx
6c: 67 0f 01 c8 [ ]*monitor %eax,%rcx,%rdx
70: 67 0f 01 c8 [ ]*monitor %eax,%rcx,%rdx
- ...
+ 74: f2 0f 12 38 [ ]*movddup \(%rax\),%xmm7
+ 78: f2 0f 12 38 [ ]*movddup \(%rax\),%xmm7
+#pass
diff --git a/gas/testsuite/gas/i386/x86-64-prescott.s b/gas/testsuite/gas/i386/x86-64-prescott.s
index 0f03683..58fea02 100644
--- a/gas/testsuite/gas/i386/x86-64-prescott.s
+++ b/gas/testsuite/gas/i386/x86-64-prescott.s
@@ -32,4 +32,6 @@ foo:
monitor %eax,%rcx,%rdx
addr32 monitor
- .p2align 4,0
+ .intel_syntax noprefix
+ movddup xmm7,[rax]
+ movddup xmm7,QWORD PTR [rax]