From a9597defaf39e2277c4c5ff510e708f226f54fbc Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 11 Oct 2018 09:16:28 +0200 Subject: [PATCH] x86: add {,V}MOVQ cases to xmmword test I had overlooked these when putting together the original test. --- gas/ChangeLog | 5 +++++ gas/testsuite/gas/i386/xmmword.l | 6 ++++++ gas/testsuite/gas/i386/xmmword.s | 8 ++++++++ 3 files changed, 19 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 0716916fd5f..2538da246cd 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2018-10-11 Jan Beulich + + * testsuite/gas/i386/xmmword.s: Add MOVQ / VMOVQ cases. + * testsuite/gas/i386/xmmword.l: Adjust expectations. + 2018-10-10 Jan Beulich * 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 7d25cb3de2e..9703bd10001 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 ffe7aca3cb1..accdbfef841 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 -- 2.30.2