freebsd-dev/lib/libc/i386
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 Change index() and rindex() to a weak alias. 2012-01-05 10:32:53 +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 In scanf, round according to the current rounding mode. 2007-12-03 07:17:33 +00:00
Symbol.map Replace a proliferation of buggy MD implementations of modf() with a 2011-10-21 06:40:36 +00:00
SYS.h Add missing END() macros, as per rev 184547 for amd64. The lack of these 2008-11-02 01:28:47 +00:00