r261638 - [CLANG] [AVX512] [BUILTIN] Adding pro{lv|r}{d|q}{128|256|512} builtin to clang

Michael Zuckerman via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 23 06:23:54 PST 2016


Author: mzuckerm
Date: Tue Feb 23 08:23:53 2016
New Revision: 261638

URL: http://llvm.org/viewvc/llvm-project?rev=261638&view=rev
Log:
[CLANG] [AVX512] [BUILTIN] Adding pro{lv|r}{d|q}{128|256|512} builtin to clang

Adding closer to the end of macro }->}) 

Differential Revision: http://reviews.llvm.org/D17506

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

Modified: cfe/trunk/lib/Headers/avx512fintrin.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/avx512fintrin.h?rev=261638&r1=261637&r2=261638&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/avx512fintrin.h (original)
+++ cfe/trunk/lib/Headers/avx512fintrin.h Tue Feb 23 08:23:53 2016
@@ -3426,40 +3426,40 @@ __builtin_ia32_prord512_mask ((__v16si)(
              (__v16si)\
              _mm512_setzero_si512 (),\
              (__mmask16) -1);\
-}
+})
 
 #define _mm512_mask_ror_epi32( __W, __U, __A, __B) __extension__ ({ \
 __builtin_ia32_prord512_mask ((__v16si)( __A),( __B),\
              (__v16si)( __W),\
              (__mmask16)( __U));\
-}
+})
 
 #define _mm512_maskz_ror_epi32( __U, __A, __B) __extension__ ({ \
 __builtin_ia32_prord512_mask ((__v16si)( __A),( __B),\
              (__v16si)\
              _mm512_setzero_si512 (),\
              (__mmask16)( __U));\
-}
+})
 
 #define _mm512_ror_epi64( __A, __B) __extension__ ({ \
 __builtin_ia32_prorq512_mask ((__v8di)( __A),( __B),\
              (__v8di)\
              _mm512_setzero_si512 (),\
              (__mmask8) -1);\
-}
+})
 
 #define _mm512_mask_ror_epi64( __W, __U, __A, __B) __extension__ ({ \
 __builtin_ia32_prorq512_mask ((__v8di)( __A),( __B),\
              (__v8di)( __W),\
              (__mmask8)( __U));\
-}
+})
 
 #define _mm512_maskz_ror_epi64( __U, __A, __B) __extension__ ({ \
 __builtin_ia32_prorq512_mask ((__v8di)( __A),( __B),\
              (__v8di)\
              _mm512_setzero_si512 (),\
              (__mmask8)( __U));\
-}
+})
 
 
 #undef __DEFAULT_FN_ATTRS

Modified: cfe/trunk/lib/Headers/avx512vlintrin.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/avx512vlintrin.h?rev=261638&r1=261637&r2=261638&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/avx512vlintrin.h (original)
+++ cfe/trunk/lib/Headers/avx512vlintrin.h Tue Feb 23 08:23:53 2016
@@ -5140,80 +5140,80 @@ __builtin_ia32_prord128_mask ((__v4si)(
              (__v4si)\
              _mm_setzero_si128 (),\
              (__mmask8) -1);\
-}
+})
 
 #define _mm_mask_ror_epi32( __W, __U, __A ,__B) __extension__ ({ \
 __builtin_ia32_prord128_mask ((__v4si) __A, __B,\
              (__v4si)( __W),\
              (__mmask8)( __U));\
-}
+})
 
 #define _mm_maskz_ror_epi32( __U, __A, __B) __extension__ ({ \
 __builtin_ia32_prord128_mask ((__v4si)( __A),( __B),\
              (__v4si)\
              _mm_setzero_si128 (),\
              (__mmask8)( __U));\
-}
+})
 
 #define _mm256_ror_epi32( __A, __B) __extension__ ({ \
 __builtin_ia32_prord256_mask ((__v8si)( __A),( __B),\
              (__v8si)\
              _mm256_setzero_si256 (),\
              (__mmask8) -1);\
-}
+})
 
 #define _mm256_mask_ror_epi32( __W, __U, __A ,__B) __extension__ ({ \
 __builtin_ia32_prord256_mask ((__v8si) __A, __B,\
              (__v8si)( __W),\
              (__mmask8)( __U));\
-}
+})
 
 #define _mm256_maskz_ror_epi32( __U, __A, __B) __extension__ ({ \
 __builtin_ia32_prord256_mask ((__v8si)( __A),( __B),\
              (__v8si)\
              _mm256_setzero_si256 (),\
              (__mmask8)( __U));\
-}
+})
 
 #define _mm_ror_epi64( __A, __B) __extension__ ({ \
 __builtin_ia32_prorq128_mask ((__v2di)( __A),( __B),\
              (__v2di)\
              _mm_setzero_di (),\
              (__mmask8) -1);\
-}
+})
 
 #define _mm_mask_ror_epi64( __W, __U, __A ,__B) __extension__ ({ \
 __builtin_ia32_prorq128_mask ((__v2di) __A, __B,\
              (__v2di)( __W),\
              (__mmask8)( __U));\
-}
+})
 
 #define _mm_maskz_ror_epi64( __U, __A, __B) __extension__ ({ \
 __builtin_ia32_prorq128_mask ((__v2di)( __A),( __B),\
              (__v2di)\
              _mm_setzero_di (),\
              (__mmask8)( __U));\
-}
+})
 
 #define _mm256_ror_epi64( __A, __B) __extension__ ({ \
 __builtin_ia32_prorq256_mask ((__v4di)( __A),( __B),\
              (__v4di)\
              _mm256_setzero_si256 (),\
              (__mmask8) -1);\
-}
+})
 
 #define _mm256_mask_ror_epi64( __W, __U, __A ,__B) __extension__ ({ \
 __builtin_ia32_prorq256_mask ((__v4di) __A, __B,\
              (__v4di)( __W),\
              (__mmask8)( __U));\
-}
+})
 
 #define _mm256_maskz_ror_epi64( __U, __A, __B) __extension__ ({ \
 __builtin_ia32_prorq256_mask ((__v4di)( __A),( __B),\
              (__v4di)\
              _mm256_setzero_si256 (),\
              (__mmask8)( __U));\
-}
+})
 
 
 #undef __DEFAULT_FN_ATTRS




More information about the cfe-commits mailing list