diff mbox

[i386,AVX-512] Fix test expected result.

Message ID 20160918124619.GA28550@titus
State New
Headers show

Commit Message

Kirill Yukhin Sept. 18, 2016, 12:46 p.m. UTC
Hello,
Expected intrinsic result is wrong due two
misunderstanding of operands order.
Patch in the bottom fixes result.
Tes now pass under SDE.

gcc/testsuite
	* gcc.target/i386/pr68633.c: Fix expected result.

--
Thanks, K

commit 122a8a1e77416d14f9d84f7a44241808dce6447e
Author: Kirill Yukhin <kirill.yukhin@gmail.com>
Date:   Sun Sep 18 15:43:20 2016 +0300

    AVX-512. Fix result as intrinsic operands order was fixed.

Comments

Kirill Yukhin Sept. 18, 2016, 12:56 p.m. UTC | #1
On 18 Sep 15:46, Kirill Yukhin wrote:
> Hello,
> Expected intrinsic result is wrong due two
> misunderstanding of operands order.
> Patch in the bottom fixes result.
> Tes now pass under SDE.
> 
> gcc/testsuite
> 	* gcc.target/i386/pr68633.c: Fix expected result.
Comitted to main trunk.
> 
> --
> Thanks, K
diff mbox

Patch

diff --git a/gcc/testsuite/gcc.target/i386/pr68633.c b/gcc/testsuite/gcc.target/i386/pr68633.c
index d7f513d..f2b594c 100644
--- a/gcc/testsuite/gcc.target/i386/pr68633.c
+++ b/gcc/testsuite/gcc.target/i386/pr68633.c
@@ -19,6 +19,6 @@  TEST ()
   __asm__( "kmovw %1, %0" : "=k" (k2) : "r" (2) );
 
   k3 = _mm512_kunpackb (k1, k2);
-  if (k3 != 0x201)
+  if (k3 != 0x102)
     abort ();
 }