diff options
author | Richard Henderson <rth@twiddle.net> | 2014-06-25 12:15:19 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2014-07-03 08:38:21 -0700 |
commit | c39323e9d2fb6697d5d8739ad9b7959c88a6d5a1 (patch) | |
tree | fa3141a230fb12f9a5a3d25d9a47063bf79c4228 /sysdeps/x86_64/hp-timing.h | |
parent | 850e0e032b77ee833a9f98d1bef3f50769bdd0c7 (diff) | |
download | glibc-c39323e9d2fb6697d5d8739ad9b7959c88a6d5a1.tar.gz glibc-c39323e9d2fb6697d5d8739ad9b7959c88a6d5a1.tar.xz glibc-c39323e9d2fb6697d5d8739ad9b7959c88a6d5a1.zip |
Removing HP_TIMING_ACCUM as unused
Diffstat (limited to 'sysdeps/x86_64/hp-timing.h')
-rw-r--r-- | sysdeps/x86_64/hp-timing.h | 9 |
1 files changed, 0 insertions, 9 deletions
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 */ |