regressions/common. Move edx/eax to x86_64 block.

ck_pring
Samy Al Bahra 13 years ago
parent a56cac3a38
commit e1ec55819e

@ -95,8 +95,8 @@ aff_iterate(struct affinity *acb CK_CC_UNUSED)
CK_CC_INLINE static uint64_t CK_CC_INLINE static uint64_t
rdtsc(void) rdtsc(void)
{ {
uint32_t eax = 0, edx;
#if defined(__x86_64__) #if defined(__x86_64__)
uint32_t eax = 0, edx;
#if defined(CK_MD_RDTSCP) #if defined(CK_MD_RDTSCP)
__asm__ __volatile__("rdtscp" __asm__ __volatile__("rdtscp"
: "+a" (eax), "=d" (edx) : "+a" (eax), "=d" (edx)

Loading…
Cancel
Save