r227270 - Intrin.h: define _XCR_XFEATURE_ENABLED_MASK
Hans Wennborg
hans at hanshq.net
Tue Jan 27 15:34:35 PST 2015
Author: hans
Date: Tue Jan 27 17:34:35 2015
New Revision: 227270
URL: http://llvm.org/viewvc/llvm-project?rev=227270&view=rev
Log:
Intrin.h: define _XCR_XFEATURE_ENABLED_MASK
Users expect to be able to use this with _xgetbv.
Modified:
cfe/trunk/lib/Headers/Intrin.h
Modified: cfe/trunk/lib/Headers/Intrin.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/Intrin.h?rev=227270&r1=227269&r2=227270&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/Intrin.h (original)
+++ cfe/trunk/lib/Headers/Intrin.h Tue Jan 27 17:34:35 2015
@@ -289,6 +289,7 @@ void _WriteBarrier(void);
unsigned __int32 xbegin(void);
void _xend(void);
static __inline__
+#define _XCR_XFEATURE_ENABLED_MASK 0
unsigned __int64 __cdecl _xgetbv(unsigned int);
void __cdecl _xrstor(void const *, unsigned __int64);
void __cdecl _xsave(void *, unsigned __int64);
More information about the cfe-commits
mailing list