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/rdseedintrin.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/rdseedintrin.h')
-rw-r--r-- | lib/Headers/rdseedintrin.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Headers/rdseedintrin.h b/lib/Headers/rdseedintrin.h index ac9ec4f9ba..421f4ea487 100644 --- a/lib/Headers/rdseedintrin.h +++ b/lib/Headers/rdseedintrin.h @@ -29,28 +29,28 @@ #define __RDSEEDINTRIN_H /* Define the default attributes for the functions in this file. */ -#define DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("rdseed"))) +#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("rdseed"))) -static __inline__ int DEFAULT_FN_ATTRS +static __inline__ int __DEFAULT_FN_ATTRS _rdseed16_step(unsigned short *__p) { return __builtin_ia32_rdseed16_step(__p); } -static __inline__ int DEFAULT_FN_ATTRS +static __inline__ int __DEFAULT_FN_ATTRS _rdseed32_step(unsigned int *__p) { return __builtin_ia32_rdseed32_step(__p); } #ifdef __x86_64__ -static __inline__ int DEFAULT_FN_ATTRS +static __inline__ int __DEFAULT_FN_ATTRS _rdseed64_step(unsigned long long *__p) { return __builtin_ia32_rdseed64_step(__p); } #endif -#undef DEFAULT_FN_ATTRS +#undef __DEFAULT_FN_ATTRS #endif /* __RDSEEDINTRIN_H */ |