]> granicus.if.org Git - clang/commitdiff
[AVX512] Fix typo in r226298
authorAdam Nemet <anemet@apple.com>
Tue, 19 Jan 2016 02:02:25 +0000 (02:02 +0000)
committerAdam Nemet <anemet@apple.com>
Tue, 19 Jan 2016 02:02:25 +0000 (02:02 +0000)
Hal noticed that the double/float got mixed up on the parameters for
these.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@258108 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Headers/avx512fintrin.h

index 8dcdc710d5c33d45a46e11c3e214306265b82e4f..5a976ccb8da5ba79290c975b865f4e4195690bbb 100644 (file)
@@ -2648,7 +2648,7 @@ _mm512_loadu_ps(float const *__p)
 }
 
 static __inline __m512 __DEFAULT_FN_ATTRS
-_mm512_load_ps(double const *__p)
+_mm512_load_ps(float const *__p)
 {
   return (__m512) __builtin_ia32_loadaps512_mask ((const __v16sf *)__p,
                                                   (__v16sf)
@@ -2657,7 +2657,7 @@ _mm512_load_ps(double const *__p)
 }
 
 static __inline __m512d __DEFAULT_FN_ATTRS
-_mm512_load_pd(float const *__p)
+_mm512_load_pd(double const *__p)
 {
   return (__m512d) __builtin_ia32_loadapd512_mask ((const __v8df *)__p,
                                                    (__v8df)