diff --git a/clang/lib/Headers/avx512fintrin.h b/clang/lib/Headers/avx512fintrin.h index 523588cbaaea..680dc29438ed 100644 --- a/clang/lib/Headers/avx512fintrin.h +++ b/clang/lib/Headers/avx512fintrin.h @@ -375,16 +375,16 @@ _mm512_set4_ps (float __A, float __B, float __C, float __D) } #define _mm512_setr4_epi32(e0,e1,e2,e3) \ - _mm512_set4_epi32(e3,e2,e1,e0) + _mm512_set4_epi32((e3),(e2),(e1),(e0)) #define _mm512_setr4_epi64(e0,e1,e2,e3) \ - _mm512_set4_epi64(e3,e2,e1,e0) + _mm512_set4_epi64((e3),(e2),(e1),(e0)) #define _mm512_setr4_pd(e0,e1,e2,e3) \ - _mm512_set4_pd(e3,e2,e1,e0) + _mm512_set4_pd((e3),(e2),(e1),(e0)) #define _mm512_setr4_ps(e0,e1,e2,e3) \ - _mm512_set4_ps(e3,e2,e1,e0) + _mm512_set4_ps((e3),(e2),(e1),(e0)) static __inline__ __m512d __DEFAULT_FN_ATTRS _mm512_broadcastsd_pd(__m128d __X) @@ -9536,7 +9536,8 @@ _mm512_set_epi32 (int __A, int __B, int __C, int __D, #define _mm512_setr_epi32(e0,e1,e2,e3,e4,e5,e6,e7, \ e8,e9,e10,e11,e12,e13,e14,e15) \ - _mm512_set_epi32(e15,e14,e13,e12,e11,e10,e9,e8,e7,e6,e5,e4,e3,e2,e1,e0) + _mm512_set_epi32((e15),(e14),(e13),(e12),(e11),(e10),(e9),(e8),(e7),(e6), \ + (e5),(e4),(e3),(e2),(e1),(e0)) static __inline__ __m512i __DEFAULT_FN_ATTRS _mm512_set_epi64 (long long __A, long long __B, long long __C, @@ -9548,7 +9549,7 @@ _mm512_set_epi64 (long long __A, long long __B, long long __C, } #define _mm512_setr_epi64(e0,e1,e2,e3,e4,e5,e6,e7) \ - _mm512_set_epi64(e7,e6,e5,e4,e3,e2,e1,e0) + _mm512_set_epi64((e7),(e6),(e5),(e4),(e3),(e2),(e1),(e0)) static __inline__ __m512d __DEFAULT_FN_ATTRS _mm512_set_pd (double __A, double __B, double __C, double __D, @@ -9559,7 +9560,7 @@ _mm512_set_pd (double __A, double __B, double __C, double __D, } #define _mm512_setr_pd(e0,e1,e2,e3,e4,e5,e6,e7) \ - _mm512_set_pd(e7,e6,e5,e4,e3,e2,e1,e0) + _mm512_set_pd((e7),(e6),(e5),(e4),(e3),(e2),(e1),(e0)) static __inline__ __m512 __DEFAULT_FN_ATTRS _mm512_set_ps (float __A, float __B, float __C, float __D, @@ -9573,7 +9574,8 @@ _mm512_set_ps (float __A, float __B, float __C, float __D, } #define _mm512_setr_ps(e0,e1,e2,e3,e4,e5,e6,e7,e8,e9,e10,e11,e12,e13,e14,e15) \ - _mm512_set_ps(e15,e14,e13,e12,e11,e10,e9,e8,e7,e6,e5,e4,e3,e2,e1,e0) + _mm512_set_ps((e15),(e14),(e13),(e12),(e11),(e10),(e9),(e8),(e7),(e6),(e5), \ + (e4),(e3),(e2),(e1),(e0)) #undef __DEFAULT_FN_ATTRS