From: Adam Nemet Date: Tue, 19 Jan 2016 02:02:25 +0000 (+0000) Subject: [AVX512] Fix typo in r226298 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd805afdac612953cca543240279c92458015d04;p=clang [AVX512] Fix typo in r226298 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 --- diff --git a/lib/Headers/avx512fintrin.h b/lib/Headers/avx512fintrin.h index 8dcdc710d5..5a976ccb8d 100644 --- a/lib/Headers/avx512fintrin.h +++ b/lib/Headers/avx512fintrin.h @@ -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)