aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CycleClock
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2012-12-31 09:35:17 -0500
committerErik Schnetter <schnetter@gmail.com>2012-12-31 09:35:17 -0500
commit98385497f0d6fd8593cfc5e9ea54e18d1be5973c (patch)
tree33022a599712b052485922c13ef794269560338e /Carpet/CycleClock
parent0d23d45a8ae39b8dd73b0aa98e5a346a853c1bf6 (diff)
CycleClock: Optimise x86-64 PGI implementation
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