Go to the documentation of this file.
17 #ifndef _ASM_X86_XCR_H
18 #define _ASM_X86_XCR_H
20 #define XCR_XFEATURE_ENABLED_MASK 0x00000000
25 #include <linux/types.h>
31 asm volatile(
".byte 0x0f,0x01,0xd0"
32 :
"=a" (eax),
"=d" (edx)
34 return eax + ((
u64)edx << 32);
40 u32 edx = value >> 32;
42 asm volatile(
".byte 0x0f,0x01,0xd1"
43 : :
"a" (eax),
"d" (edx),
"c" (
index));