#ifndef __IMMINTRIN_H
#error "Never use <xsaveintrin.h> directly; include <immintrin.h> instead."
#endif
#ifndef __XSAVEINTRIN_H
#define __XSAVEINTRIN_H
#ifdef _MSC_VER
#define _XCR_XFEATURE_ENABLED_MASK …
#endif
#define __DEFAULT_FN_ATTRS …
static __inline__ void __DEFAULT_FN_ATTRS
_xsave(void *__p, unsigned long long __m) { … }
static __inline__ void __DEFAULT_FN_ATTRS
_xrstor(void *__p, unsigned long long __m) { … }
#ifndef _MSC_VER
#define _xgetbv(A) …
#define _xsetbv(A, B) …
#else
#ifdef __cplusplus
extern "C" {
#endif
unsigned __int64 __cdecl _xgetbv(unsigned int);
void __cdecl _xsetbv(unsigned int, unsigned __int64);
#ifdef __cplusplus
}
#endif
#endif
#ifdef __x86_64__
static __inline__ void __DEFAULT_FN_ATTRS
_xsave64(void *__p, unsigned long long __m) { … }
static __inline__ void __DEFAULT_FN_ATTRS
_xrstor64(void *__p, unsigned long long __m) { … }
#endif
#undef __DEFAULT_FN_ATTRS
#endif