D | msr.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #include "msr-index.h" 47 * both i386 and x86_64 returns 64-bit value in edx:eax, but gcc's "A" 53 /* Using 64-bit values saves one instruction clearing the high half of low */ 54 #define DECLARE_ARGS(val, low, high) unsigned long low, high argument 55 #define EAX_EDX_VAL(val, low, high) ((low) | (high) << 32) argument 56 #define EAX_EDX_RET(val, low, high) "=a" (low), "=d" (high) argument 58 #define DECLARE_ARGS(val, low, high) unsigned long long val argument 59 #define EAX_EDX_VAL(val, low, high) (val) argument 60 #define EAX_EDX_RET(val, low, high) "=A" (val) argument [all …]
|