x86: add CVT{,T}PS2PI cases to xmmwords test
authorJan Beulich <jbeulich@novell.com>
Tue, 25 Jun 2019 07:22:38 +0000 (09:22 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 25 Jun 2019 07:35:17 +0000 (09:35 +0200)
I've (not so) recently noticed this further pair which should be tested
here.

gas/ChangeLog
gas/testsuite/gas/i386/xmmword.l
gas/testsuite/gas/i386/xmmword.s

index c7dc37d937da2990a508edb476e8226ac2e58c14..41400b4629a70c0d22cc8b63b100a896735b13c6 100644 (file)
@@ -1,3 +1,9 @@
+2019-06-25  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/xmmword.s: Add cvtps2pi and cvttps2pi
+       tests.
+       * testsuite/gas/i386/xmmword.l: Adjust expectations.
+
 2019-06-25  Alan Modra  <amodra@gmail.com>
 
        * config/tc-ppc.c (ppc_handle_align): Add parentheses.
index 9703bd10001b05bd3e15fe34517ff08651fb256a..e8c89c8e69c26c97c4075150ed81432077136b16 100644 (file)
 .*:140: Error: .* `movq'
 .*:141: Error: .* `vmovq'
 .*:142: Error: .* `vmovq'
+.*:144: Error: .* `cvtps2pi'
+.*:146: Error: .* `cvttps2pi'
index accdbfef841a947b4385b1a9210aca709a28e5c0..d21ffa6a7655fd8a6dc19aded590ef9d1edd07eb 100644 (file)
@@ -140,3 +140,7 @@ xmmword:
        movq            xmmword ptr [eax], xmm0
        vmovq           xmmword ptr [eax], xmm0
        {evex} vmovq    xmmword ptr [eax], xmm0
+
+       cvtps2pi        mm0, xmmword ptr [eax]
+
+       cvttps2pi       mm0, xmmword ptr [eax]