This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: V2 [PATCH] x86: Use _rdtsc intrinsic for HP_TIMING_NOW


* H. J. Lu:

> +   NB: Use __builtin_ia32_rdtsc directly since including <x86intrin.h>
> +   is very slow with GCC 6.  */

Thanks for the patch.

It fixes the issue, but the comment is wrong: I see the same slowdown
with GCC 8.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]