From 98385497f0d6fd8593cfc5e9ea54e18d1be5973c Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Mon, 31 Dec 2012 09:35:17 -0500 Subject: CycleClock: Optimise x86-64 PGI implementation --- Carpet/CycleClock/src/cycle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Carpet/CycleClock') 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 -- cgit v1.2.3