freebsd-skq/lib/libc/amd64
Konstantin Belousov 869fd80fd4 Use struct vdso_timehands data to implement fast gettimeofday(2) and
clock_gettime(2) functions if supported. The speedup seen in
microbenchmarks is in range 4x-7x depending on the hardware.

Only amd64 and i386 architectures are supported. Libc uses rdtsc and
kernel data to calculate current time, if enabled by kernel.

Hopefully, this code is going to migrate into vdso in some future.

Discussed with:	bde
Reviewed by:	jhb
Tested by:	flo
MFC after:	1 month
2012-06-22 07:13:30 +00:00
..
gen Make the sys/ucontext.h self-contained by changing the return type 2012-02-01 13:33:53 +00:00
stdlib Add section .note.GNU-stack for assembly files used by 386 and amd64. 2011-01-07 16:08:40 +00:00
string Remove incorrect attribution. 2011-07-21 20:06:14 +00:00
sys Use struct vdso_timehands data to implement fast gettimeofday(2) and 2012-06-22 07:13:30 +00:00
_fpmath.h Add an alternative view of the bits in an 80-bit long double (64+16 2008-01-17 16:39:07 +00:00
arith.h
gd_qnan.h Arrange so that the NaN returned by strtod("nan", NULL) is the same as 2007-12-16 21:15:09 +00:00
Makefile.inc
Symbol.map Replace a proliferation of buggy MD implementations of modf() with a 2011-10-21 06:40:36 +00:00
SYS.h We've been lax about matching END() macros in asm code for some time. This 2008-11-02 01:10:54 +00:00