diff options
author | jimharris <jimharris@FreeBSD.org> | 2012-08-07 23:16:11 +0000 |
---|---|---|
committer | jimharris <jimharris@FreeBSD.org> | 2012-08-07 23:16:11 +0000 |
commit | eaa4d133af4a97eb5e3e50612e3335aec6b30b16 (patch) | |
tree | 3aad0c4148625cce991b8733f3053fe2239ca866 /contrib/compiler-rt/lib/clzti2.c | |
parent | 187bdeb55e1bfd6164489785cff4a64883d61576 (diff) | |
download | FreeBSD-src-eaa4d133af4a97eb5e3e50612e3335aec6b30b16.zip FreeBSD-src-eaa4d133af4a97eb5e3e50612e3335aec6b30b16.tar.gz |
During TSC synchronization test, use rdtsc() rather than rdtsc32(), to
protect against 32-bit TSC overflow while the sync test is running.
On dual-socket Xeon E5-2600 (SNB) systems with up to 32 threads, there
is non-trivial chance (2-3%) that TSC synchronization test fails due to
32-bit TSC overflow while the synchronization test is running.
Sponsored by: Intel
Reviewed by: jkim
Discussed with: jkim, kib
Diffstat (limited to 'contrib/compiler-rt/lib/clzti2.c')
0 files changed, 0 insertions, 0 deletions