r298042 - [AVX-512] Change the input type for some load intrinsics to take void type like the spec (and the test cases say).

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 16 22:59:25 PDT 2017


Author: ctopper
Date: Fri Mar 17 00:59:25 2017
New Revision: 298042

URL: http://llvm.org/viewvc/llvm-project?rev=298042&view=rev
Log:
[AVX-512] Change the input type for some load intrinsics to take void type like the spec (and the test cases say).

Modified:
    cfe/trunk/lib/Headers/avx512fintrin.h

Modified: cfe/trunk/lib/Headers/avx512fintrin.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/avx512fintrin.h?rev=298042&r1=298041&r2=298042&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/avx512fintrin.h (original)
+++ cfe/trunk/lib/Headers/avx512fintrin.h Fri Mar 17 00:59:25 2017
@@ -4540,7 +4540,7 @@ _mm512_maskz_loadu_pd(__mmask8 __U, void
 }
 
 static __inline __m512d __DEFAULT_FN_ATTRS
-_mm512_loadu_pd(double const *__p)
+_mm512_loadu_pd(void const *__p)
 {
   struct __loadu_pd {
     __m512d __v;
@@ -4549,7 +4549,7 @@ _mm512_loadu_pd(double const *__p)
 }
 
 static __inline __m512 __DEFAULT_FN_ATTRS
-_mm512_loadu_ps(float const *__p)
+_mm512_loadu_ps(void const *__p)
 {
   struct __loadu_ps {
     __m512 __v;
@@ -4558,7 +4558,7 @@ _mm512_loadu_ps(float const *__p)
 }
 
 static __inline __m512 __DEFAULT_FN_ATTRS
-_mm512_load_ps(float const *__p)
+_mm512_load_ps(void const *__p)
 {
   return (__m512) __builtin_ia32_loadaps512_mask ((const __v16sf *)__p,
                                                   (__v16sf)
@@ -4584,7 +4584,7 @@ _mm512_maskz_load_ps(__mmask16 __U, void
 }
 
 static __inline __m512d __DEFAULT_FN_ATTRS
-_mm512_load_pd(double const *__p)
+_mm512_load_pd(void const *__p)
 {
   return (__m512d) __builtin_ia32_loadapd512_mask ((const __v8df *)__p,
                                                    (__v8df)




More information about the cfe-commits mailing list