diff options
author | Michael Kuperstein <michael.m.kuperstein@intel.com> | 2015-06-30 13:36:19 +0000 |
---|---|---|
committer | Michael Kuperstein <michael.m.kuperstein@intel.com> | 2015-06-30 13:36:19 +0000 |
commit | 01a74204ea379d690677f541887605313f3fefc8 (patch) | |
tree | efda84cf3bd490328a4eb93c2b0a1cd16adb49cc /lib/Headers/popcntintrin.h | |
parent | 71b65791b195056028a8ee3f0ac05d184d34c961 (diff) |
[X86] Rename DEFAULT_FN_ATTR macro to __DEFAULT_FN_ATTR
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241065 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Headers/popcntintrin.h')
-rw-r--r-- | lib/Headers/popcntintrin.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Headers/popcntintrin.h b/lib/Headers/popcntintrin.h index fede8da2bd..29c074b61d 100644 --- a/lib/Headers/popcntintrin.h +++ b/lib/Headers/popcntintrin.h @@ -25,22 +25,22 @@ #define _POPCNTINTRIN_H /* 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"))) -static __inline__ int DEFAULT_FN_ATTRS +static __inline__ int __DEFAULT_FN_ATTRS _mm_popcnt_u32(unsigned int __A) { return __builtin_popcount(__A); } #ifdef __x86_64__ -static __inline__ long long DEFAULT_FN_ATTRS +static __inline__ long long __DEFAULT_FN_ATTRS _mm_popcnt_u64(unsigned long long __A) { return __builtin_popcountll(__A); } #endif /* __x86_64__ */ -#undef DEFAULT_FN_ATTRS +#undef __DEFAULT_FN_ATTRS #endif /* _POPCNTINTRIN_H */ |