forked from OSchip/llvm-project
[X86] Only define _XCR_XFEATURE_ENABLED_MASK in xsaveintrin.h when _MSC_VER is defined. Remove from intrin.h.
I think this was my intention when I added it xsaveintrin.h llvm-svn: 351568
This commit is contained in:
parent
be7cbe3f70
commit
d08d90ce51
|
@ -200,7 +200,6 @@ __attribute__((__deprecated__("use other intrinsics or C++11 atomics instead")))
|
||||||
_WriteBarrier(void);
|
_WriteBarrier(void);
|
||||||
unsigned __int32 xbegin(void);
|
unsigned __int32 xbegin(void);
|
||||||
void _xend(void);
|
void _xend(void);
|
||||||
#define _XCR_XFEATURE_ENABLED_MASK 0
|
|
||||||
|
|
||||||
/* These additional intrinsics are turned on in x64/amd64/x86_64 mode. */
|
/* These additional intrinsics are turned on in x64/amd64/x86_64 mode. */
|
||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#ifndef __XSAVEINTRIN_H
|
#ifndef __XSAVEINTRIN_H
|
||||||
#define __XSAVEINTRIN_H
|
#define __XSAVEINTRIN_H
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define _XCR_XFEATURE_ENABLED_MASK 0
|
#define _XCR_XFEATURE_ENABLED_MASK 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue