aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CycleClock
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CycleClock')
-rw-r--r--Carpet/CycleClock/src/cycle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CycleClock/src/cycle.h b/Carpet/CycleClock/src/cycle.h
index 7901ccbeb..76b6146f7 100644
--- a/Carpet/CycleClock/src/cycle.h
+++ b/Carpet/CycleClock/src/cycle.h
@@ -240,7 +240,7 @@ INLINE_ELAPSED(__inline__)
typedef unsigned long long ticks;
static ticks getticks(void)
{
- asm(" rdtsc; shl $0x20,%rdx; mov %eax,%eax; or %rdx,%rax; ");
+ asm(" rdtsc; shl $0x20,%rdx; or %rdx,%rax; ");
}
INLINE_ELAPSED(__inline__)
#define HAVE_TICK_COUNTER