[PATCH, i386, AVX-512] Fix test expected result.
Kirill Yukhin
kirill.yukhin@gmail.com
Sun Sep 18 12:56:00 GMT 2016
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.
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 ();
}
More information about the Gcc-patches
mailing list