aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2018-10-11 09:16:28 +0200
committerJan Beulich <jbeulich@suse.com>2018-10-11 09:16:28 +0200
commita9597defaf39e2277c4c5ff510e708f226f54fbc (patch)
tree9a4a2f2c96e0aba6bd409b035aa192db480f682d
parent30653a8a7da3e7b7d3b17b0bd8ffe7c6d40b7193 (diff)
downloadgdb-a9597defaf39e2277c4c5ff510e708f226f54fbc.zip
gdb-a9597defaf39e2277c4c5ff510e708f226f54fbc.tar.gz
gdb-a9597defaf39e2277c4c5ff510e708f226f54fbc.tar.bz2
x86: add {,V}MOVQ cases to xmmword test
I had overlooked these when putting together the original test.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/testsuite/gas/i386/xmmword.l6
-rw-r--r--gas/testsuite/gas/i386/xmmword.s8
3 files changed, 19 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 0716916..2538da2 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2018-10-11 Jan Beulich <jbeulich@suse.com>
+
+ * testsuite/gas/i386/xmmword.s: Add MOVQ / VMOVQ cases.
+ * testsuite/gas/i386/xmmword.l: Adjust expectations.
+
2018-10-10 Jan Beulich <jbeulich@suse.com>
* config/tc-i386.c (parse_insn, process_suffix): Replace
diff --git a/gas/testsuite/gas/i386/xmmword.l b/gas/testsuite/gas/i386/xmmword.l
index 7d25cb3..9703bd1 100644
--- a/gas/testsuite/gas/i386/xmmword.l
+++ b/gas/testsuite/gas/i386/xmmword.l
@@ -103,3 +103,9 @@
.*:132: Error: .* `vcvtps2uqq'
.*:133: Error: .* `vcvttps2qq'
.*:134: Error: .* `vcvttps2uqq'
+.*:136: Error: .* `movq'
+.*:137: Error: .* `vmovq'
+.*:138: Error: .* `vmovq'
+.*:140: Error: .* `movq'
+.*:141: Error: .* `vmovq'
+.*:142: Error: .* `vmovq'
diff --git a/gas/testsuite/gas/i386/xmmword.s b/gas/testsuite/gas/i386/xmmword.s
index ffe7aca..accdbfe 100644
--- a/gas/testsuite/gas/i386/xmmword.s
+++ b/gas/testsuite/gas/i386/xmmword.s
@@ -132,3 +132,11 @@ xmmword:
vcvtps2uqq xmm0, xmmword ptr [rax]
vcvttps2qq xmm0, xmmword ptr [rax]
vcvttps2uqq xmm0, xmmword ptr [rax]
+
+ movq xmm0, xmmword ptr [eax]
+ vmovq xmm0, xmmword ptr [eax]
+ {evex} vmovq xmm0, xmmword ptr [eax]
+
+ movq xmmword ptr [eax], xmm0
+ vmovq xmmword ptr [eax], xmm0
+ {evex} vmovq xmmword ptr [eax], xmm0