re PR target/87674 (AVX512: incorrect intrinsic signature)
authorJakub Jelinek <jakub@redhat.com>
Tue, 23 Oct 2018 09:25:57 +0000 (11:25 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 23 Oct 2018 09:25:57 +0000 (11:25 +0200)
PR target/87674
* config/i386/avx512vlintrin.h (_mm_mask_mullo_epi32): Change type of
second argument from __mmask16 to __mmask8.
* config/i386/avx512vlbwintrin.h (_mm_mask_packus_epi32,
_mm_mask_packs_epi32): Likewise.
* config/i386/avx512pfintrin.h (_mm512_mask_prefetch_i64scatter_ps):
Likewise.
(_mm512_mask_prefetch_i64scatter_pd): Likewise.  Formatting fix.

From-SVN: r265416

gcc/ChangeLog
gcc/config/i386/avx512pfintrin.h
gcc/config/i386/avx512vlbwintrin.h
gcc/config/i386/avx512vlintrin.h

index 59887e476cba62527259fd5484058be71f0a6cff..b334845c0646ab67232d8e819eb8b708a8aa6240 100644 (file)
@@ -1,3 +1,14 @@
+2018-10-23  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/87674
+       * config/i386/avx512vlintrin.h (_mm_mask_mullo_epi32): Change type of
+       second argument from __mmask16 to __mmask8.
+       * config/i386/avx512vlbwintrin.h (_mm_mask_packus_epi32,
+       _mm_mask_packs_epi32): Likewise.
+       * config/i386/avx512pfintrin.h (_mm512_mask_prefetch_i64scatter_ps):
+       Likewise.
+       (_mm512_mask_prefetch_i64scatter_pd): Likewise.  Formatting fix.
+
 2018-10-23  Richard Biener  <rguenther@suse.de>
 
        * tree-vect-stmts.c (vect_analyze_stmt): Fix typo in comment.
index 05dacd881ada6f25f6349d5eb4d090cbdcb13556..f7568d81e413e8c486fb88d4d0448b22589cd420 100644 (file)
@@ -174,16 +174,16 @@ _mm512_prefetch_i64scatter_ps (void *__addr, __m512i __index, int __scale,
 
 extern __inline void
 __attribute__ ((__gnu_inline__, __always_inline__, __artificial__))
-_mm512_mask_prefetch_i64scatter_pd (void *__addr, __mmask16 __mask,
+_mm512_mask_prefetch_i64scatter_pd (void *__addr, __mmask8 __mask,
                                    __m512i __index, int __scale, int __hint)
 {
   __builtin_ia32_scatterpfqpd (__mask, (__v8di) __index, __addr, __scale,
-                             __hint);
+                              __hint);
 }
 
 extern __inline void
 __attribute__ ((__gnu_inline__, __always_inline__, __artificial__))
-_mm512_mask_prefetch_i64scatter_ps (void *__addr, __mmask16 __mask,
+_mm512_mask_prefetch_i64scatter_ps (void *__addr, __mmask8 __mask,
                                    __m512i __index, int __scale, int __hint)
 {
   __builtin_ia32_scatterpfqps (__mask, (__v8di) __index, __addr, __scale,
index 02afce15686ba50f56ce9f1045fa27d6d22cf5d9..f8df6f2e9aebc600b9bf98f857fbe86389276bc7 100644 (file)
@@ -4346,7 +4346,7 @@ _mm_maskz_packus_epi32 (__mmask8 __M, __m128i __A, __m128i __B)
 
 extern __inline __m128i
 __attribute__ ((__gnu_inline__, __always_inline__, __artificial__))
-_mm_mask_packus_epi32 (__m128i __W, __mmask16 __M, __m128i __A,
+_mm_mask_packus_epi32 (__m128i __W, __mmask8 __M, __m128i __A,
                       __m128i __B)
 {
   return (__m128i) __builtin_ia32_packusdw128_mask ((__v4si) __A,
@@ -4389,7 +4389,7 @@ _mm_maskz_packs_epi32 (__mmask8 __M, __m128i __A, __m128i __B)
 
 extern __inline __m128i
 __attribute__ ((__gnu_inline__, __always_inline__, __artificial__))
-_mm_mask_packs_epi32 (__m128i __W, __mmask16 __M, __m128i __A,
+_mm_mask_packs_epi32 (__m128i __W, __mmask8 __M, __m128i __A,
                      __m128i __B)
 {
   return (__m128i) __builtin_ia32_packssdw128_mask ((__v4si) __A,
index 7ff78010689c8c2e0de0de98a48614bd363b35aa..37a01e83afec4ef54c41a3b1d6d274e5c8042cef 100644 (file)
@@ -9095,7 +9095,7 @@ _mm_maskz_mullo_epi32 (__mmask8 __M, __m128i __A, __m128i __B)
 
 extern __inline __m128i
 __attribute__ ((__gnu_inline__, __always_inline__, __artificial__))
-_mm_mask_mullo_epi32 (__m128i __W, __mmask16 __M, __m128i __A,
+_mm_mask_mullo_epi32 (__m128i __W, __mmask8 __M, __m128i __A,
                      __m128i __B)
 {
   return (__m128i) __builtin_ia32_pmulld128_mask ((__v4si) __A,