[X86] Consistently use double underscore at the beginning of the include guards in our intrinsic headers.
Most files used double underscore, but a few used single. This converges them all to double. llvm-svn: 330743
This commit is contained in:
parent
ebc7c74f2f
commit
bd16b11255
|
@ -20,8 +20,8 @@
|
||||||
*
|
*
|
||||||
*===-----------------------------------------------------------------------===
|
*===-----------------------------------------------------------------------===
|
||||||
*/
|
*/
|
||||||
#ifndef _WMMINTRIN_AES_H
|
#ifndef __WMMINTRIN_AES_H
|
||||||
#define _WMMINTRIN_AES_H
|
#define __WMMINTRIN_AES_H
|
||||||
|
|
||||||
#include <emmintrin.h>
|
#include <emmintrin.h>
|
||||||
|
|
||||||
|
@ -148,4 +148,4 @@ _mm_aesimc_si128(__m128i __V)
|
||||||
|
|
||||||
#undef __DEFAULT_FN_ATTRS
|
#undef __DEFAULT_FN_ATTRS
|
||||||
|
|
||||||
#endif /* _WMMINTRIN_AES_H */
|
#endif /* __WMMINTRIN_AES_H */
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
*
|
*
|
||||||
*===-----------------------------------------------------------------------===
|
*===-----------------------------------------------------------------------===
|
||||||
*/
|
*/
|
||||||
#ifndef _WMMINTRIN_PCLMUL_H
|
#ifndef __WMMINTRIN_PCLMUL_H
|
||||||
#define _WMMINTRIN_PCLMUL_H
|
#define __WMMINTRIN_PCLMUL_H
|
||||||
|
|
||||||
/// \brief Multiplies two 64-bit integer values, which are selected from source
|
/// \brief Multiplies two 64-bit integer values, which are selected from source
|
||||||
/// operands using the immediate-value operand. The multiplication is a
|
/// operands using the immediate-value operand. The multiplication is a
|
||||||
|
@ -54,4 +54,4 @@
|
||||||
((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(__X), \
|
((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(__X), \
|
||||||
(__v2di)(__m128i)(__Y), (char)(__I)))
|
(__v2di)(__m128i)(__Y), (char)(__I)))
|
||||||
|
|
||||||
#endif /* _WMMINTRIN_PCLMUL_H */
|
#endif /* __WMMINTRIN_PCLMUL_H */
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
#error "Never use <clzerointrin.h> directly; include <x86intrin.h> instead."
|
#error "Never use <clzerointrin.h> directly; include <x86intrin.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _CLZEROINTRIN_H
|
#ifndef __CLZEROINTRIN_H
|
||||||
#define _CLZEROINTRIN_H
|
#define __CLZEROINTRIN_H
|
||||||
|
|
||||||
/* Define the default attributes for the functions in this file. */
|
/* Define the default attributes for the functions in this file. */
|
||||||
#define __DEFAULT_FN_ATTRS \
|
#define __DEFAULT_FN_ATTRS \
|
||||||
|
@ -47,4 +47,4 @@ _mm_clzero (void * __line)
|
||||||
|
|
||||||
#undef __DEFAULT_FN_ATTRS
|
#undef __DEFAULT_FN_ATTRS
|
||||||
|
|
||||||
#endif /* _CLZEROINTRIN_H */
|
#endif /* __CLZEROINTRIN_H */
|
||||||
|
|
|
@ -25,8 +25,8 @@
|
||||||
#error "Never use <mwaitxintrin.h> directly; include <x86intrin.h> instead."
|
#error "Never use <mwaitxintrin.h> directly; include <x86intrin.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _MWAITXINTRIN_H
|
#ifndef __MWAITXINTRIN_H
|
||||||
#define _MWAITXINTRIN_H
|
#define __MWAITXINTRIN_H
|
||||||
|
|
||||||
/* Define the default attributes for the functions in this file. */
|
/* Define the default attributes for the functions in this file. */
|
||||||
#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("mwaitx")))
|
#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("mwaitx")))
|
||||||
|
@ -44,4 +44,4 @@ _mm_mwaitx(unsigned __extensions, unsigned __hints, unsigned __clock)
|
||||||
|
|
||||||
#undef __DEFAULT_FN_ATTRS
|
#undef __DEFAULT_FN_ATTRS
|
||||||
|
|
||||||
#endif /* _MWAITXINTRIN_H */
|
#endif /* __MWAITXINTRIN_H */
|
||||||
|
|
|
@ -21,10 +21,10 @@
|
||||||
*===-----------------------------------------------------------------------===
|
*===-----------------------------------------------------------------------===
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _NMMINTRIN_H
|
#ifndef __NMMINTRIN_H
|
||||||
#define _NMMINTRIN_H
|
#define __NMMINTRIN_H
|
||||||
|
|
||||||
/* To match expectations of gcc we put the sse4.2 definitions into smmintrin.h,
|
/* To match expectations of gcc we put the sse4.2 definitions into smmintrin.h,
|
||||||
just include it now then. */
|
just include it now then. */
|
||||||
#include <smmintrin.h>
|
#include <smmintrin.h>
|
||||||
#endif /* _NMMINTRIN_H */
|
#endif /* __NMMINTRIN_H */
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
*===-----------------------------------------------------------------------===
|
*===-----------------------------------------------------------------------===
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _POPCNTINTRIN_H
|
#ifndef __POPCNTINTRIN_H
|
||||||
#define _POPCNTINTRIN_H
|
#define __POPCNTINTRIN_H
|
||||||
|
|
||||||
/* Define the default attributes for the functions in this file. */
|
/* Define the default attributes for the functions in this file. */
|
||||||
#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("popcnt")))
|
#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("popcnt")))
|
||||||
|
@ -95,4 +95,4 @@ _popcnt64(long long __A)
|
||||||
|
|
||||||
#undef __DEFAULT_FN_ATTRS
|
#undef __DEFAULT_FN_ATTRS
|
||||||
|
|
||||||
#endif /* _POPCNTINTRIN_H */
|
#endif /* __POPCNTINTRIN_H */
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
*===-----------------------------------------------------------------------===
|
*===-----------------------------------------------------------------------===
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SMMINTRIN_H
|
#ifndef __SMMINTRIN_H
|
||||||
#define _SMMINTRIN_H
|
#define __SMMINTRIN_H
|
||||||
|
|
||||||
#include <tmmintrin.h>
|
#include <tmmintrin.h>
|
||||||
|
|
||||||
|
@ -2462,4 +2462,4 @@ _mm_crc32_u64(unsigned long long __C, unsigned long long __D)
|
||||||
#include <popcntintrin.h>
|
#include <popcntintrin.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _SMMINTRIN_H */
|
#endif /* __SMMINTRIN_H */
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
#error "Never use <waitpkgintrin.h> directly; include <x86intrin.h> instead."
|
#error "Never use <waitpkgintrin.h> directly; include <x86intrin.h> instead."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _WAITPKGINTRIN_H
|
#ifndef __WAITPKGINTRIN_H
|
||||||
#define _WAITPKGINTRIN_H
|
#define __WAITPKGINTRIN_H
|
||||||
|
|
||||||
/* Define the default attributes for the functions in this file. */
|
/* Define the default attributes for the functions in this file. */
|
||||||
#define __DEFAULT_FN_ATTRS \
|
#define __DEFAULT_FN_ATTRS \
|
||||||
|
@ -53,4 +53,4 @@ _tpause (unsigned int __control, unsigned long long __counter)
|
||||||
|
|
||||||
#undef __DEFAULT_FN_ATTRS
|
#undef __DEFAULT_FN_ATTRS
|
||||||
|
|
||||||
#endif /* _WAITPKGINTRIN_H */
|
#endif /* __WAITPKGINTRIN_H */
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
*===-----------------------------------------------------------------------===
|
*===-----------------------------------------------------------------------===
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _WMMINTRIN_H
|
#ifndef __WMMINTRIN_H
|
||||||
#define _WMMINTRIN_H
|
#define __WMMINTRIN_H
|
||||||
|
|
||||||
#include <emmintrin.h>
|
#include <emmintrin.h>
|
||||||
|
|
||||||
|
@ -30,4 +30,4 @@
|
||||||
|
|
||||||
#include <__wmmintrin_pclmul.h>
|
#include <__wmmintrin_pclmul.h>
|
||||||
|
|
||||||
#endif /* _WMMINTRIN_H */
|
#endif /* __WMMINTRIN_H */
|
||||||
|
|
Loading…
Reference in New Issue