gcc/testsuite/
* gcc.target/i386/avx512bw-kshiftlq-2.c: Use unsigned long long
constant.
* gcc.target/i386/avx512bw-kshiftrq-2.c: Ditto.
From-SVN: r244941
+2017-01-26 Kirill Yukhin <kirill.yukhin@gmail.com>
+
+ * gcc.target/i386/avx512bw-kshiftlq-2.c: Use unsigned long long
+ constant.
+ * gcc.target/i386/avx512bw-kshiftrq-2.c: Ditto.
+
2017-01-26 Jakub Jelinek <jakub@redhat.com>
* config/i386/avx512fintrin.h (_ktest_mask16_u8,
unsigned int i = 53;
volatile __mmask64 r = _kshiftli_mask64 (k1, i);
- if (r != 1 << i)
+ if (r != 1ULL << i)
abort ();
}
+
/* { dg-do run } */
/* { dg-options "-O2 -mavx512bw" } */
/* { dg-require-effective-target avx512bw } */
avx512bw_test ()
{
unsigned int i = 53;
- __mmask64 k1 = 1 << i;
+ __mmask64 k1 = 1ULL << i;
volatile __mmask64 r = _kshiftri_mask64 (k1, i);
if (r != 1)