freebsd-dev/lib/msun
Bruce Evans 0ddfa46b44 Add an irint() function in inline asm for amd64 and i386. irint() is
the same as lrint() except it returns int instead of long.  Though the
extern lrint() is fairly fast on these arches, it still takes about
12 cycles longer than the inline version, and 12 cycles is a lot in
applications where [li]rint() is used to avoid slow conversions that
are only a couple of times slower.

This is only for internal use.  The libm versions of *rint*() should
also be inline, but that would take would take more header engineering.
Implementing irint() instead of lrint() also avoids a conflict with
the extern declaration of the latter.
2008-02-22 14:11:03 +00:00
..
amd64 Use hardware remainder on amd64 since it is 5 to 10 times faster than 2008-02-13 06:01:48 +00:00
arm Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
bsdsrc Eliminate some warnings. 2008-02-22 02:26:51 +00:00
i387 Implement rintl(), nearbyintl(), lrintl(), and llrintl(). 2008-01-14 02:12:07 +00:00
ia64 Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
ld80 2 long double constants were missing L suffixes. This helped break tanl() 2008-02-18 15:39:52 +00:00
ld128 Add kernel functions for 128-bit long doubles. These could be improved 2008-02-17 07:32:31 +00:00
man Document return values better. 2008-02-18 19:02:49 +00:00
powerpc Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
sparc64 Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
src Add an irint() function in inline asm for amd64 and i386. irint() is 2008-02-22 14:11:03 +00:00
Makefile Add tgammaf() as a simple wrapper around tgamma(). 2008-02-18 17:27:11 +00:00
Symbol.map Add tgammaf() as a simple wrapper around tgamma(). 2008-02-18 17:27:11 +00:00