regressions: Enable rdtsc for x86-32 targets.

ck_pring
Samy Al Bahra 12 years ago
parent 72855320c4
commit e517126247

@ -98,7 +98,7 @@ aff_iterate(struct affinity *acb CK_CC_UNUSED)
CK_CC_INLINE static uint64_t CK_CC_INLINE static uint64_t
rdtsc(void) rdtsc(void)
{ {
#if defined(__x86_64__) #if defined(__x86_64__) || defined(__x86__)
uint32_t eax = 0, edx; uint32_t eax = 0, edx;
#if defined(CK_MD_RDTSCP) #if defined(CK_MD_RDTSCP)
__asm__ __volatile__("rdtscp" __asm__ __volatile__("rdtscp"

Loading…
Cancel
Save