This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] x86: add {,V}MOVQ cases to xmmword test
- From: "Jan Beulich" <JBeulich at suse dot com>
- To: <binutils at sourceware dot org>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>
- Date: Wed, 10 Oct 2018 09:08:23 -0600
- Subject: [PATCH] x86: add {,V}MOVQ cases to xmmword test
I had overlooked these when putting together the original test.
gas/
2018-10-10 Jan Beulich <jbeulich@suse.com>
* testsuite/gas/i386/xmmword.s: Add MOVQ / VMOVQ cases.
* testsuite/gas/i386/xmmword.l: Adjust expectations.
--- 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'
--- 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