From c39323e9d2fb6697d5d8739ad9b7959c88a6d5a1 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 25 Jun 2014 12:15:19 -0700 Subject: Removing HP_TIMING_ACCUM as unused --- sysdeps/x86_64/hp-timing.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'sysdeps/x86_64/hp-timing.h') diff --git a/sysdeps/x86_64/hp-timing.h b/sysdeps/x86_64/hp-timing.h index d88206c6e3..e132dacab6 100644 --- a/sysdeps/x86_64/hp-timing.h +++ b/sysdeps/x86_64/hp-timing.h @@ -28,13 +28,4 @@ asm volatile ("rdtsc" : "=a" (_lo), "=d" (_hi)); \ (Var) = ((unsigned long long int) _hi << 32) | _lo; }) -/* The funny business for 32-bit mode is not required here. */ -# undef HP_TIMING_ACCUM -# define HP_TIMING_ACCUM(Sum, Diff) \ - do { \ - hp_timing_t __diff = (Diff) - GLRO(dl_hp_timing_overhead); \ - __asm__ __volatile__ ("lock; addq %1, %0" \ - : "=m" (Sum) : "r" (__diff), "m" (Sum)); \ - } while (0) - #endif /* hp-timing.h */ -- cgit v1.2.1