From e517126247832cd6c09954ff5b083ac7a003f481 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sat, 12 Jan 2013 22:59:01 -0500 Subject: [PATCH] regressions: Enable rdtsc for x86-32 targets. --- regressions/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regressions/common.h b/regressions/common.h index 1f6f921..a7c5599 100644 --- a/regressions/common.h +++ b/regressions/common.h @@ -98,7 +98,7 @@ aff_iterate(struct affinity *acb CK_CC_UNUSED) CK_CC_INLINE static uint64_t rdtsc(void) { -#if defined(__x86_64__) +#if defined(__x86_64__) || defined(__x86__) uint32_t eax = 0, edx; #if defined(CK_MD_RDTSCP) __asm__ __volatile__("rdtscp"