Investment Opportunity of the year.

2010-04-06 Thread Evans
Greetings cvs-all@freebsd.org, I wanna inform you about a very reliable program I take part in since half a year. I made 560% profit by now. This is a Hong Kong traders company, active on stock, derivatives, and Forex markets. Their results are very consistent, they make up to 3% daily and

cvs commit: src/lib/msun Makefile src/lib/msun/man ieee_test.3 ilogb.3 math.3

2005-11-06 Thread Bruce Evans
bde 2005-11-06 12:18:27 UTC FreeBSD src repository Modified files: lib/msun Makefile lib/msun/man ieee_test.3 ilogb.3 math.3 Log: The logb() functions are not just ieee754 "test" functions, but are standard in C99 and POSIX.1-2001+. They are also n

cvs commit: src/lib/msun/src e_rem_pio2f.c

2005-11-06 Thread Bruce Evans
bde 2005-11-06 17:48:02 UTC FreeBSD src repository Modified files: lib/msun/src e_rem_pio2f.c Log: Use a 53-bit approximation to pi/2 instead of a 33+53 bit one for the special case pi/4 <= |x| < 3*pi/4. This gives a tiny optimization (it saves 2 subtractions, wh

cvs commit: src/lib/msun Makefile

2005-11-06 Thread Bruce Evans
bde 2005-11-06 17:59:40 UTC FreeBSD src repository Modified files: lib/msun Makefile Log: Detach k_rem_pio2f.c from the build since it is now unused. It is a libm internal so this shouldn't cause version problems. Revision ChangesPath 1.74 +1 -

Re: cvs commit: src/sys/kern vfs_mount.c

2005-11-08 Thread Bruce Evans
On Tue, 8 Nov 2005, Nate Lawson wrote: Craig Rodrigues wrote: rodrigc 2005-11-09 02:26:38 UTC FreeBSD src repository Modified files: sys/kern vfs_mount.c Log: For nmount(), allow a text string error message to be propagated back to user-space if a parameter named

Re: cvs commit: src/sys/kern subr_power.c

2005-11-09 Thread Bruce Evans
On Wed, 9 Nov 2005, Warner Losh wrote: Modified files: sys/kern subr_power.c Log: Kick off the suspend sequence from the keyboard in a SWI rather than in the hardware interrupt context (even if it is likely just an ithread). We don't document that suspend/resume routines are

Re: cvs commit: src/sys/kern vfs_subr.c src/sys/fs/devfs devfs_vnops.c

2005-11-09 Thread Bruce Evans
On Thu, 10 Nov 2005, Poul-Henning Kamp wrote: I don't think I've seen any other proposals than to put it in dirent where it rightfully belongs. The reason it is not in dirent is that UFS/FFS uses dirent as the layout in directories as a microoptimization. I think the reason is exactly the opp

Re: cvs commit: src/sys/kern subr_power.c

2005-11-10 Thread Bruce Evans
On Wed, 9 Nov 2005, Scott Long wrote: ... Bruce Evans wrote: Er, SWIs are interrupts too. Trying to sleep in a SWI handler should cause the same message. This commit uses the general taskqueue SWI handler. taskqueue(9) implicitly says that only the taskqueue thread handler can sleep (it

Re: cvs commit: src/sys/kern vfs_subr.c src/sys/fs/devfs devfs_vnops.c

2005-11-10 Thread Bruce Evans
On Thu, 10 Nov 2005, Poul-Henning Kamp wrote: In message <[EMAIL PROTECTED]>, Bruce Evans writes: On Thu, 10 Nov 2005, Poul-Henning Kamp wrote: I don't think I've seen any other proposals than to put it in dirent where it rightfully belongs. The reason it is not in dirent

cvs commit: src/lib/msun/src k_tanf.c

2005-11-10 Thread Bruce Evans
bde 2005-11-10 17:43:50 UTC FreeBSD src repository Modified files: lib/msun/src k_tanf.c Log: As for __kernel_cosf() and __kernel_sinf(), use a fairly optimal minimax polynomial for __kernel_tanf(). The old one was the double-precision polynomial with coefficient

cvs commit: src/lib/msun/src e_logf.c

2005-11-12 Thread Bruce Evans
bde 2005-11-12 18:20:09 UTC FreeBSD src repository Modified files: lib/msun/src e_logf.c Log: As for the float trig functions, use a minimax polynomial that is specialized for float precision. The new polynomial has degree 8 instead of 14, and a maximum error of

cvs commit: src/lib/msun/src k_cosf.c

2005-11-12 Thread Bruce Evans
bde 2005-11-12 19:54:45 UTC FreeBSD src repository Modified files: lib/msun/src k_cosf.c Log: Improved comments for the minimax polynomial. Revision ChangesPath 1.12 +4 -4 src/lib/msun/src/k_cosf.c ___

cvs commit: src/lib/msun/src k_sinf.c

2005-11-12 Thread Bruce Evans
bde 2005-11-12 19:56:35 UTC FreeBSD src repository Modified files: lib/msun/src k_sinf.c Log: Tweaked the minimax polynomial and improved its comments. Revision ChangesPath 1.10 +5 -5 src/lib/msun/src/k_sinf.c

cvs commit: src/lib/msun/src k_tanf.c

2005-11-12 Thread Bruce Evans
bde 2005-11-12 20:06:04 UTC FreeBSD src repository Modified files: lib/msun/src k_tanf.c Log: Imoproved comments for the minimax polynomial. Removed an unused variable. Fixed some wrong comments and some nearby misformatting. Revision ChangesPath

cvs commit: src/lib/msun/src e_coshf.c

2005-11-12 Thread Bruce Evans
bde 2005-11-13 00:08:23 UTC FreeBSD src repository Modified files: lib/msun/src e_coshf.c Log: Fixed some magic numbers. The threshold for not being tiny was confusing and too small. Use the usual 2**-12 threshold and simplify the algorithm slightly so that

cvs commit: src/lib/msun/src e_sinhf.c

2005-11-12 Thread Bruce Evans
bde 2005-11-13 00:41:46 UTC FreeBSD src repository Modified files: lib/msun/src e_sinhf.c Log: Fixed some magic numbers. The threshold for not being tiny was too small. Use the usual 2**-12 threshold. This change is not just an optimization, since the general

cvs commit: src/lib/msun/src e_rem_pio2f.c

2005-11-16 Thread Bruce Evans
bde 2005-11-17 02:20:04 UTC FreeBSD src repository Modified files: lib/msun/src e_rem_pio2f.c Log: Rearranged the the optimizations for special cases to reduce the average number of branches. Use a non-bogus magic constant for the threshold of pi/4. It was 2 u

cvs commit: src/lib/msun/src s_cosf.c s_sinf.c s_tanf.c

2005-11-16 Thread Bruce Evans
bde 2005-11-17 03:53:22 UTC FreeBSD src repository Modified files: lib/msun/src s_cosf.c s_sinf.c s_tanf.c Log: Minor cleanups: s_cosf.c and s_sinf.c: Use a non-bogus magic constant for the threshold of pi/4. It was 2 ulps smaller than pi/4 rounded down, but

Re: cvs commit: src/usr.sbin/rpc.lockd kern.c

2005-11-17 Thread Bruce Evans
On Thu, 17 Nov 2005, Robert Watson wrote: On Thu, 17 Nov 2005, Hartmut Brandt wrote: harti 2005-11-17 12:19:19 UTC FreeBSD src repository Modified files: usr.sbin/rpc.lockd kern.c Log: When a user is in more than 16 groups the call to authunix_create() will result in abort()

cvs commit: src/lib/msun/bsdsrc mathimpl.h

2005-11-17 Thread Bruce Evans
bde 2005-11-18 05:03:12 UTC FreeBSD src repository Modified files: lib/msun/bsdsrc mathimpl.h Log: Removed an unused declaration which was so old that it wasn't a prototype and thus just broke building at any nonzero WARNS level. Fixed nearby style bugs. Revi

cvs commit: src/lib/msun/src e_rem_pio2f.c s_cosf.c s_sinf.c s_tanf.c

2005-11-18 Thread Bruce Evans
bde 2005-11-19 02:38:27 UTC FreeBSD src repository Modified files: lib/msun/src e_rem_pio2f.c s_cosf.c s_sinf.c s_tanf.c Log: Moved all the optimizations for |x| <= 9pi/2 from __ieee754_rem_pio2f() to its 3 callers and manually inline them. On Athlons, with fav

cvs commit: src/lib/msun/src s_tanf.c

2005-11-20 Thread Bruce Evans
bde 2005-11-20 20:17:04 UTC FreeBSD src repository Modified files: lib/msun/src s_tanf.c Log: Restored a cleanup in rev.1.9 tthat was lost in rev.1.10. Revision ChangesPath 1.11 +2 -2 src/lib/msun/src/s_tanf.c

cvs commit: src/lib/msun/src k_tanf.c

2005-11-20 Thread Bruce Evans
bde 2005-11-21 00:38:22 UTC FreeBSD src repository Modified files: lib/msun/src k_tanf.c Log: Use double precision to simplify and optimize a long division. On athlons, this gives a speedup of 10-20% for tanf() on uniformly distributed args in [-2Pi, 2Pi]. (It

cvs commit: src/lib/msun/src k_cosf.c k_sinf.c k_tanf.c s_cosf.c s_sinf.c s_tanf.c

2005-11-20 Thread Bruce Evans
bde 2005-11-21 04:57:12 UTC FreeBSD src repository Modified files: lib/msun/src k_cosf.c k_sinf.c k_tanf.c s_cosf.c s_sinf.c s_tanf.c Log: Mess up the "kernel" float trig function .c files with ifdefs so that they can be #included in other

cvs commit: src/lib/msun/src e_rem_pio2f.c

2005-11-22 Thread Bruce Evans
bde 2005-11-23 02:06:07 UTC FreeBSD src repository Modified files: lib/msun/src e_rem_pio2f.c Log: Quick fix for stack buffer overrun in rev.1.13. Oops. The prec == 1 arg to __kernel_rem_pio2() gives 53-bit (double) precision, not single precision and/or the arr

cvs commit: src/lib/msun/src e_rem_pio2f.c

2005-11-22 Thread Bruce Evans
bde 2005-11-23 03:03:09 UTC FreeBSD src repository Modified files: lib/msun/src e_rem_pio2f.c Log: Simplified setiing up args for __kernel_rem_pio2(). We already have x with a 24-bit fraction, so we don't need a loop to split it into up to 3 terms with 24-bit fra

cvs commit: src/lib/msun/src k_tanf.c math_private.h s_tanf.c

2005-11-23 Thread Bruce Evans
bde 2005-11-23 14:27:56 UTC FreeBSD src repository Modified files: lib/msun/src k_tanf.c math_private.h s_tanf.c Log: Use only double precision for "kernel" tanf (except for returning float). This is a minor interface change. The function is renamed from __kernel

cvs commit: src/lib/msun/src k_tanf.c

2005-11-23 Thread Bruce Evans
bde 2005-11-24 02:04:26 UTC FreeBSD src repository Modified files: lib/msun/src k_tanf.c Log: Optimized by eliminating the special case for 0.67434 <= |x| < pi/4. A single polynomial approximation for tan(x) works in infinite precision up to |x| < pi/2, but in

cvs commit: src/lib/msun/src k_tanf.c

2005-11-24 Thread Bruce Evans
bde 2005-11-24 13:48:40 UTC FreeBSD src repository Modified files: lib/msun/src k_tanf.c Log: Minor cleanups and optimizations: - Remove dead code that I forgot to remove in the previous commit. - Calculate the sum of the lower terms of the polynomial (divid

Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c

2005-11-27 Thread Bruce Evans
On Sun, 27 Nov 2005, Robert Watson wrote: On Sun, 27 Nov 2005, Poul-Henning Kamp wrote: In message <[EMAIL PROTECTED]>, Robert Watson writes: This offers a minimum update rate of 1/HZ, but in practice will often be more frequent due to the frequency of time stamping in the kernel: Not

Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c

2005-11-27 Thread Bruce Evans
On Sun, 27 Nov 2005, Robert Watson wrote: rwatson 2005-11-27 00:55:18 UTC FreeBSD src repository Modified files: sys/sys time.h sys/kern kern_time.c Log: Add several aliases for existing clockid_t names to indicate that the application wishes to request

Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c

2005-11-27 Thread Bruce Evans
On Sun, 27 Nov 2005, Robert Watson wrote: ... Attached is a small LD_PRELOAD library to allow applications to be switched to the _FAST variants for gettimeofday(). % /* % * Small wrapper library to substitute implementations of gettimeofday(2) and % * time(3) with lower resolution variation

Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c

2005-11-27 Thread Bruce Evans
On Sun, 27 Nov 2005, Robert Watson wrote: On Sun, 27 Nov 2005, Bruce Evans wrote: Add experimental low-precision clockid_t names corresponding to these clocks, but implemented using cached timestamps in kernel rather than a full time counter query. These existence of these interfaces is

cvs commit: src/lib/msun/src e_lgammaf_r.c k_cosf.c k_sinf.c math_private.h s_cosf.c s_sinf.c

2005-11-27 Thread Bruce Evans
bde 2005-11-28 04:58:57 UTC FreeBSD src repository Modified files: lib/msun/src e_lgammaf_r.c k_cosf.c k_sinf.c math_private.h s_cosf.c s_sinf.c Log: Use only double precision for "kernel" cosf and sinf (except for returning float). The fu

cvs commit: src/lib/msun/src k_tanf.c s_tanf.c

2005-11-27 Thread Bruce Evans
bde 2005-11-28 05:35:32 UTC FreeBSD src repository Modified files: lib/msun/src k_tanf.c s_tanf.c Log: Changed spelling of the request-to-inline macro name to match the change of the function name. Added my (non-)copyright. In k_tanf.c, added the first set

cvs commit: src/lib/msun/src s_cosf.c s_sinf.c

2005-11-27 Thread Bruce Evans
bde 2005-11-28 05:46:13 UTC FreeBSD src repository Modified files: lib/msun/src s_cosf.c s_sinf.c Log: Try to use the "proximity" (~) operator consistently in comments (x ~<= a, not x <= ~a). This got messed up in some places when the comments were moved from e_r

cvs commit: src/lib/msun/src s_cosf.c s_sinf.c

2005-11-27 Thread Bruce Evans
bde 2005-11-28 06:15:10 UTC FreeBSD src repository Modified files: lib/msun/src s_cosf.c s_sinf.c Log: Exploit skew-symmetry to avoid an operation: -sin(x-A) = sin(A-x). This gives a tiny but hopefully always free optimization in the 2 quadrants to which it appli

cvs commit: src/lib/msun/src e_lgammaf_r.c

2005-11-28 Thread Bruce Evans
bde 2005-11-28 08:32:15 UTC FreeBSD src repository Modified files: lib/msun/src e_lgammaf_r.c Log: Fixed about 50 million errors of infinity ulps and about 3 million errors of between 1.0 and 1.8509 ulps for lgammaf(x) with x between -2**-21 and -2**-70. As u

Re: cvs commit: src/lib/msun/src e_lgammaf_r.c

2005-11-28 Thread Bruce Evans
On Mon, 28 Nov 2005, Bruce Evans wrote: Now the max error for lgammaf(x) with |x| < 2**-21 is 0.7885 ulps, and speed and accuracy are almost the same for positive and negative args in this range. The maximum error overall is still infinity ulps. Oops. The max error overall is o

cvs commit: src/lib/msun/src k_tanf.c

2005-11-28 Thread Bruce Evans
bde 2005-11-28 11:46:20 UTC FreeBSD src repository Modified files: lib/msun/src k_tanf.c Log: Rearranged the polynomial evaluation some more to reduce dependencies. Instead of echoing the code in a comment, try to describe why we split up the evaluation in a speci

Re: cvs commit: src/lib/msun/src e_lgammaf_r.c

2005-11-28 Thread Bruce Evans
On Mon, 28 Nov 2005, Steve Kargl wrote: On Mon, Nov 28, 2005 at 11:16:27AM +0100, Andre Oppermann wrote: Bruce Evans wrote: ... lib/msun/src e_lgammaf_r.c Log: Fixed about 50 million errors of infinity ulps and about 3 million errors of between 1.0 and 1.8509 ulps for

Re: cvs commit: src/sys/sys time.h src/sys/kern kern_time.c

2005-11-28 Thread Bruce Evans
On Mon, 28 Nov 2005, [iso-8859-1] Dag-Erling Sm?rgrav wrote: Bruce Evans <[EMAIL PROTECTED]> writes: I can see a use for making a timestamp after select() returns, not for timeout purposes since the timeout should normally be for emergencies and it's relative so it doesn't

Re: cvs commit: src/lib/msun/src e_lgammaf_r.c

2005-11-29 Thread Bruce Evans
On Tue, 29 Nov 2005, Andrey Chernov wrote: On Tue, Nov 29, 2005 at 11:49:13AM +1100, Bruce Evans wrote: I don't like writing papers, and rarely read them these days. Not writting the paper about your libm changes will increase chances your changes will be simple lost at some step. Pos

cvs commit: doc/en_US.ISO8859-1/books/porters-handbook book.sgml

2012-05-02 Thread Jason Evans
jasone 2012-05-02 10:21:37 UTC FreeBSD doc repository (src committer) Modified files: en_US.ISO8859-1/books/porters-handbook book.sgml Log: Document __FreeBSD_version 112 (import jemalloc). Revision ChangesPath 1.1186+7 -0 doc/en_US.ISO8859-1/books/porte

cvs commit: src/lib/msun/src e_expf.c

2005-11-29 Thread Bruce Evans
bde 2005-11-30 04:56:49 UTC FreeBSD src repository Modified files: lib/msun/src e_expf.c Log: Fixed the hi+lo approximation to log(2). The normal 17+24 bit decomposition that was used doesn't work normally here, since we want to be able to multiply `hi' by the ex

cvs commit: src/lib/msun/src s_cosf.c

2005-11-29 Thread Bruce Evans
bde 2005-11-30 06:47:19 UTC FreeBSD src repository Modified files: lib/msun/src s_cosf.c Log: Fixed cosf(x) when x is a "negative" NaNs. I broke this in rev.1.10. cosf(x) is supposed to return something like x when x is a NaN, and we actually fairly consistently

cvs commit: src/lib/msun/src k_cosf.c k_sinf.c

2005-11-30 Thread Bruce Evans
bde 2005-11-30 11:51:17 UTC FreeBSD src repository Modified files: lib/msun/src k_cosf.c k_sinf.c Log: Rearranged the polynomial evaluation to reduce dependencies, as in k_tanf.c but with different details. The polynomial is odd with degree 13 for tanf() and od

Re: cvs commit: src/lib/msun/src e_expf.c

2005-11-30 Thread Bruce Evans
On Wed, 30 Nov 2005, Bruce Evans wrote: Modified files: lib/msun/src e_expf.c Log: ... The end result is that expf() is now perfectly rounded (to nearest) except in 52561 cases instead of except in 67027 cases, and the maximum error is 0.5013 ulps instead of 0.5023 ulps

cvs commit: src/lib/msun/src s_round.c s_roundf.c s_roundl.c

2005-12-02 Thread Bruce Evans
bde 2005-12-02 13:45:06 UTC FreeBSD src repository Modified files: lib/msun/src s_round.c s_roundf.c s_roundl.c Log: Fixed roundf(). The following cases never worked in FreeBSD: - in round-towards-minus-infinity mode, on all machines, roundf(x) never worked for

cvs commit: src/lib/msun/src s_rint.c

2005-12-02 Thread Bruce Evans
bde 2005-12-03 07:23:30 UTC FreeBSD src repository Modified files: lib/msun/src s_rint.c Log: Fixed rint(x) in the following cases: (1) In round-to-nearest mode, on all machines, fdlibm rint() never worked for |x| = n+0.75 where n is an even integer between 26

cvs commit: src/lib/msun/src s_rint.c

2005-12-02 Thread Bruce Evans
bde 2005-12-03 07:38:35 UTC FreeBSD src repository Modified files: lib/msun/src s_rint.c Log: Simplified the fix in rev.1.3. Instead of using long double for TWO52[sx] to trick gcc into correctly converting TWO52[sx]+x to double on assignment to "double w", force

cvs commit: src/lib/msun/src s_rintf.c

2005-12-03 Thread Bruce Evans
bde 2005-12-03 09:00:29 UTC FreeBSD src repository Modified files: lib/msun/src s_rintf.c Log: Restored removal of the special handling needed for a result of +-0. It was lost in rev.1.9. The log message for rev.1.9 says that the special case of +-0 is handled tw

cvs commit: src/lib/msun/src s_logb.c s_logbf.c

2005-12-03 Thread Bruce Evans
bde 2005-12-03 11:57:19 UTC FreeBSD src repository Modified files: lib/msun/src s_logb.c s_logbf.c Log: Fixed fdlibm[+cygnus] logbf() and logb() on denormals. Adjustment according to the highest nonzero bit in a denormal was missing. fdlibm ilogbf() and ilogb(

cvs commit: src/lib/msun/src s_log1pf.c

2005-12-04 Thread Bruce Evans
bde 2005-12-04 08:57:54 UTC FreeBSD src repository Modified files: lib/msun/src s_log1pf.c Log: Use the usual volatile hack to trick gcc into clipping any extra precision on assignment. Extra precision on i386's broke hi+lo decomposition in the usual way. It

cvs commit: src/lib/msun/src s_log1p.c

2005-12-04 Thread Bruce Evans
bde 2005-12-04 12:28:33 UTC FreeBSD src repository Modified files: lib/msun/src s_log1p.c Log: For log1pf(), fixed the approximations to sqrt(2), sqrt(2)-1 and sqrt(2)/2-1. For log1p(), fixed the approximation to sqrt(2)/2-1. The end result is to fix an error

cvs commit: src/lib/msun/src s_log1pf.c

2005-12-04 Thread Bruce Evans
bde 2005-12-04 12:30:44 UTC FreeBSD src repository Modified files: lib/msun/src s_log1pf.c Log: For log1pf(), fixed the approximations to sqrt(2), sqrt(2)-1 and sqrt(2)/2-1. For log1p(), fixed the approximation to sqrt(2)/2-1. The end result is to fix an error

cvs commit: src/lib/msun/src e_asinf.c

2005-12-04 Thread Bruce Evans
bde 2005-12-04 13:52:46 UTC FreeBSD src repository Modified files: lib/msun/src e_asinf.c Log: Fixed the approximation to pio4. pio4_hi must be pio2_hi/2 since it shares its low half with pio2_hi. pio2_hi is rounded down although rounding to nearest would be a t

Re: cvs commit: src/etc/rc.d root

2005-12-04 Thread Bruce Evans
On Sun, 4 Dec 2005, Kevin Oberman wrote: Date: Sat, 3 Dec 2005 16:25:28 +0100 From: Pawel Jakub Dawidek <[EMAIL PROTECTED]> Sender: [EMAIL PROTECTED] On Fri, Dec 02, 2005 at 09:33:43PM +, Ruslan Ermilov wrote: +> ru 2005-12-02 21:33:43 UTC +> +> FreeBSD src repository +> +> Mod

Re: cvs commit: src/lib/msun/src e_lgammaf_r.c

2005-12-07 Thread Bruce Evans
On Sun, 4 Dec 2005, Mike Silbersack wrote: On Tue, 29 Nov 2005, Bruce Evans wrote: On Tue, 29 Nov 2005, Andrey Chernov wrote: On Tue, Nov 29, 2005 at 11:49:13AM +1100, Bruce Evans wrote: I don't like writing papers, and rarely read them these days. Not writting the paper about your

Re: cvs commit: src/lib/msun/src e_lgammaf_r.c

2005-12-09 Thread Bruce Evans
On Thu, 8 Dec 2005, Mike Silbersack wrote: On Thu, 8 Dec 2005, Bruce Evans wrote: Whoever makes the changes would write the regression tests :-). Mine are't sufficently general to commit. In batch mode which takes about 10 hours on a 2GHz Athlon to check all cases for floats, the

cvs commit: src/lib/msun/src s_tanhf.c

2005-12-11 Thread Bruce Evans
bde 2005-12-11 11:40:55 UTC FreeBSD src repository Modified files: lib/msun/src s_tanhf.c Log: Fixed some magic numbers. The threshold for not being tiny was too small. Use the usual 2**-12 threshold. As for sinhf, use a different method (now the same as for

cvs commit: src/lib/msun/src s_cbrtf.c

2005-12-11 Thread Bruce Evans
bde 2005-12-11 13:22:01 UTC FreeBSD src repository Modified files: lib/msun/src s_cbrtf.c Log: Fixed all 502518670 errors of more than 1 ulp for cbrtf() on amd64. The maximum error was 3.56 ulps. The bug was another translation error. The double precision vers

cvs commit: src/lib/msun/src s_cbrtf.c

2005-12-11 Thread Bruce Evans
bde 2005-12-11 17:58:14 UTC FreeBSD src repository Modified files: lib/msun/src s_cbrtf.c Log: Fixed the unexpectedly large maximum error after the previous commit. It was because I forgot to translate the part of the double precision algorithm that chops t so tha

cvs commit: src/lib/msun/src s_cbrt.c s_cbrtf.c

2005-12-11 Thread Bruce Evans
bde 2005-12-11 19:51:30 UTC FreeBSD src repository Modified files: lib/msun/src s_cbrt.c s_cbrtf.c Log: Added comments about the magic behind ~= /3 + BIAS. Keep the large comments only in the double version as usual. Fixed some style bugs (mainly grammar

cvs commit: src/lib/msun/src s_cbrt.c s_cbrtf.c

2005-12-13 Thread Bruce Evans
bde 2005-12-13 18:22:00 UTC FreeBSD src repository Modified files: lib/msun/src s_cbrt.c s_cbrtf.c Log: Fixed some especially horrible style bugs (indentation that is neither KNF nor fdlibmNF combined with multiple statements per line). Revision ChangesPat

cvs commit: src/lib/msun/src s_cbrt.c s_cbrtf.c

2005-12-13 Thread Bruce Evans
bde 2005-12-13 20:17:24 UTC FreeBSD src repository Modified files: lib/msun/src s_cbrt.c s_cbrtf.c Log: Optimize by not doing excessive conversions for handling the sign bit. This gives an optimization of between 9 and 22% on Athlons (largest for cbrt() on amd64 -

cvs commit: src/lib/msun/src s_cbrt.c

2005-12-15 Thread Bruce Evans
bde 2005-12-15 16:23:22 UTC FreeBSD src repository Modified files: lib/msun/src s_cbrt.c Log: Added comments about the apparently-magic rational function used in the second step of approximating cbrt(x). It turns out to be neither very magic not nor very good. I

cvs commit: src/lib/msun/src s_cbrt.c s_cbrtf.c

2005-12-18 Thread Bruce Evans
bde 2005-12-18 21:46:47 UTC FreeBSD src repository Modified files: lib/msun/src s_cbrt.c s_cbrtf.c Log: Fixed code to match comments and the algorithm: - in preparing for the third approximation, actually make t larger in magnitude than cbrt(x). After chopping,

cvs commit: src/lib/msun/src s_cbrt.c s_cbrtf.c

2005-12-18 Thread Bruce Evans
bde 2005-12-19 00:22:03 UTC FreeBSD src repository Modified files: lib/msun/src s_cbrt.c s_cbrtf.c Log: Use a minimax polynomial approximation instead of a Pade rational function approximation for the second step. The polynomial has degree 2 for cbrtf() and 4 for

cvs commit: src/lib/msun/src s_cbrt.c

2005-12-19 Thread Bruce Evans
bde 2005-12-20 01:21:30 UTC FreeBSD src repository Modified files: lib/msun/src s_cbrt.c Log: Extract the high and low words together. With gcc-3.4 on uniformly distributed non-large args, this saves about 14 of 134 cycles for Athlon64s and about 5 of 199 cycles

Re: cvs commit: CVSROOT access

2005-12-21 Thread Jason Evans
On Dec 21, 2005, at 12:50 PM, Daniel Eischen wrote: On Wed, 21 Dec 2005, Mark Murray wrote: Welcome back Jasone Evans (jasone@). I am mentoring. Since he's been here before, does he need a mentor? Mark is mainly going to help me observe any procedural changes that have been made

cvs commit: ports/astro/xearth/files freebsd.committers.markers

2005-12-22 Thread Jason Evans
jasone 2005-12-22 22:23:09 UTC FreeBSD ports repository (src committer) Modified files: astro/xearth/files freebsd.committers.markers Log: Add marker for myself. Approved by:markm (mentor) Revision ChangesPath 1.276 +2 -1 ports/astro/xearth/files/

cvs commit: www/en/news news.xml

2005-12-23 Thread Jason Evans
jasone 2005-12-23 09:18:31 UTC FreeBSD doc repository (src committer) Modified files: en/news news.xml Log: Add a news item about my return as a committer. Approved by:markm (mentor) Revision ChangesPath 1.358 +10 -1 www/en/news/news.xml

Re: cvs commit: src/sys/kern kern_malloc.c

2005-12-28 Thread Jason Evans
On Dec 27, 2005, at 5:53 PM, Pawel Jakub Dawidek wrote: pjd 2005-12-28 01:53:13 UTC FreeBSD src repository Modified files: sys/kern kern_malloc.c Log: In realloc(9), determine size of the original block based on UMA_SLAB_MALLOC flag. In some circumstances (I

Re: cvs commit: src/sys/kern vfs_syscalls.c

2006-01-03 Thread Bruce Evans
On Wed, 4 Jan 2006, Diomidis Spinellis wrote: Poul-Henning Kamp wrote: In message <[EMAIL PROTECTED]>, Diomidis Spinellis writes: dds 2006-01-03 21:58:22 UTC FreeBSD src repository Modified files: sys/kern vfs_syscalls.c Log: Normalize the tv_usec part of the utimes(2

cvs commit: src/lib/msun/src s_cbrtf.c

2006-01-04 Thread Bruce Evans
bde 2006-01-05 07:57:31 UTC FreeBSD src repository Modified files: lib/msun/src s_cbrtf.c Log: Use double precision internally to optimize cbrtf(), and change the algorithm for the second step significantly to also get a perfectly rounded result in round-to-neares

cvs commit: src/lib/msun/src s_cbrtf.c

2006-01-05 Thread Bruce Evans
bde 2006-01-05 09:18:48 UTC FreeBSD src repository Modified files: lib/msun/src s_cbrtf.c Log: Oops, on amd64 (and probably on all non-i386 systems), the previous commit broke the 2**24 cases where |x| > DBL_MAX/2. There are exponent range problems not just for d

cvs commit: src/share/man/man3 Makefile tree.3 src/sys/sys tree.h

2006-01-11 Thread Jason Evans
jasone 2006-01-11 15:48:36 UTC FreeBSD src repository Modified files: share/man/man3 Makefile tree.3 sys/sys tree.h Log: Add the RB_NFIND() macro, which is useful for red-black tree searches for which there may not be an exact match. Reviewed by:

cvs commit: src/lib/libc/include libc_private.h src/lib/libc/stdlib Makefile.inc calloc.c malloc.c posix_memalign.3 src/lib/libpthread/thread thr_fork.c src/lib/libthr/thread thr_fork.c src/libexec/rt

2006-01-11 Thread Jason Evans
jasone 2006-01-12 07:28:21 UTC FreeBSD src repository Modified files: lib/libc/include libc_private.h lib/libc/stdlib Makefile.inc malloc.c lib/libpthread/thread thr_fork.c lib/libthr/threadthr_fork.c libexec/rtld-elf malloc.c Added files:

Re: cvs commit: src/lib/libc/include libc_private.h src/lib/libc/stdlib Makefile.inc calloc.c malloc.c posix_memalign.3 src/lib/libpthread/thread thr_fork.c src/lib/libthr/thread thr_fork.c src/libexe

2006-01-11 Thread Jason Evans
On Jan 11, 2006, at 11:38 PM, Andrey Chernov wrote: On Thu, Jan 12, 2006 at 07:28:21AM +, Jason Evans wrote: * Move calloc() from calloc.c to malloc.c. Add a calloc() implementation in rtld-elf in order to make the loader happy (even though calloc() isn't used in

cvs commit: src/include stdlib.h

2006-01-12 Thread Jason Evans
jasone 2006-01-12 07:58:59 UTC FreeBSD src repository Modified files: include stdlib.h Log: Expose the posix_memalign() prototype, now that the function is implemented by libc. Revision ChangesPath 1.61 +1 -1 src/include/stdlib.h

cvs commit: src/usr.sbin/kldxref ef_obj.c

2006-01-12 Thread Jason Evans
jasone 2006-01-12 08:01:38 UTC FreeBSD src repository Modified files: usr.sbin/kldxref ef_obj.c Log: Use posix_memalign() rather than assuming that malloc() provides adequate alignment. Approved by:markm (mentor) Revision ChangesPath 1.5 +7 -5

cvs commit: ports/devel/cook Makefile distinfo

2006-01-12 Thread Jason Evans
jasone 2006-01-12 09:15:56 UTC FreeBSD ports repository (src committer) Modified files: devel/cook Makefile distinfo Log: Update to cook 2.25. Approved by:markm (mentor) Revision ChangesPath 1.30 +4 -3 ports/devel/cook/Makefile 1.12

cvs commit: ports/lang/onyx Makefile distinfo

2006-01-12 Thread Jason Evans
jasone 2006-01-12 09:17:33 UTC FreeBSD ports repository (src committer) Modified files: lang/onyxMakefile distinfo Log: Update to Onyx 5.1.2. Approved by:markm (mentor) Revision ChangesPath 1.30 +3 -3 ports/lang/onyx/Makefile 1.20

cvs commit: ports/devel/libedit Makefile pkg-plist

2006-01-12 Thread Jason Evans
jasone 2006-01-12 09:22:30 UTC FreeBSD ports repository (src committer) Modified files: devel/libeditMakefile pkg-plist Log: Bump the library revision number for libedit, since it needs to be kept greater than the revision number for the base system's libedit. App

cvs commit: src/lib/libc/gen valloc.3 valloc.c

2006-01-12 Thread Jason Evans
jasone 2006-01-12 09:29:39 UTC FreeBSD src repository Modified files: lib/libc/gen valloc.3 valloc.c Log: Use posix_memalign() in valloc() rather than making assumptions about the alignment of malloc()ed memory. Approved by:markm (mentor) Revision Change

cvs commit: src/lib/libc/stdlib malloc.c

2006-01-12 Thread Jason Evans
jasone 2006-01-12 18:09:26 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: Fix a bitwise logic error in posix_memalign(). Reported by:glebius Revision ChangesPath 1.92 +2 -2 src/lib/libc/stdlib/malloc.c ___

Re: cvs commit: src/lib/libc/stdlib malloc.c

2006-01-12 Thread Jason Evans
On Jan 12, 2006, at 10:09 AM, Jason Evans wrote: jasone 2006-01-12 18:09:26 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: Fix a bitwise logic error in posix_memalign(). Reported by:glebius Revision ChangesPath 1.92 +2 -2

cvs commit: src/lib/libpthread/thread thr_spinlock.c src/lib/libthr/thread thr_spinlock.c

2006-01-12 Thread Jason Evans
jasone 2006-01-13 06:14:04 UTC FreeBSD src repository Modified files: lib/libpthread/thread thr_spinlock.c lib/libthr/threadthr_spinlock.c Log: Increase the number of spinlocks, since libc's malloc implementation is about to significantly increase the number of spinlo

cvs commit: src/lib/libc/stdlib malloc.3 malloc.c

2006-01-13 Thread Jason Evans
jasone 2006-01-13 18:38:56 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.3 malloc.c Log: Replace malloc(), calloc(), posix_memalign(), realloc(), and free() with a scalable concurrent allocator implementation. Reviewed by:current@ Approved b

Re: cvs commit: src/lib/libc/stdlib malloc.c

2006-01-13 Thread Jason Evans
On Jan 12, 2006, at 5:29 PM, Giorgos Keramidas wrote: [...] Does this look like an off-by-one error to you too Jason? Apparently, the allocated size of s->data is s->size, which is 873 bytes, but then Emacs tries to access s->data[873]. Does it look like I'm right in thinking that this i

cvs commit: src UPDATING

2006-01-13 Thread Jason Evans
jasone 2006-01-13 22:37:48 UTC FreeBSD src repository Modified files: .UPDATING Log: Note that libc's malloc implementation has been replaced. Approved by:markm (mentor) Revision ChangesPath 1.434 +5 -0 src/UPDATING _

Re: cvs commit: src/lib/libc/stdlib malloc.c

2006-01-14 Thread Jason Evans
On Jan 14, 2006, at 1:32 PM, Giorgos Keramidas wrote: On 2006-01-13 11:07, Jason Evans <[EMAIL PROTECTED]> wrote: On Jan 12, 2006, at 5:29 PM, Giorgos Keramidas wrote: Does it look like I'm right in thinking that this is a bug in Emacs? This looks like a bug in emacs, as you say,

Re: cvs commit: src/lib/libc/stdlib malloc.c

2006-01-15 Thread Jason Evans
On Jan 14, 2006, at 7:28 PM, Giorgos Keramidas wrote: Jason, is this related to the malloc changes in any way. I'm curious why the default return type of `int' wasn't a problem so far. Has the definition of userland pointers changed recently from a type that could fit in an `int' to someth

Re: cvs commit: src/lib/libc/stdlib malloc.c

2006-01-15 Thread Jason Evans
On Jan 14, 2006, at 1:32 PM, Giorgos Keramidas wrote: On 2006-01-13 11:07, Jason Evans <[EMAIL PROTECTED]> wrote: On Jan 12, 2006, at 5:29 PM, Giorgos Keramidas wrote: [...] Does this look like an off-by-one error to you too Jason? Apparently, the allocated size of s->data is s->

cvs commit: src/lib/libc/stdlib malloc.c

2006-01-15 Thread Jason Evans
jasone 2006-01-16 05:13:49 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: Add a separate simple internal base allocator and remove base_arena, so that there is never any need to recursively call the main allocation functions. Remove recursiv

Re: cvs commit: src/lib/libc/stdlib malloc.c

2006-01-15 Thread Jason Evans
On Jan 15, 2006, at 9:13 PM, Jason Evans wrote: jasone 2006-01-16 05:13:49 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: [...] Allow chunks to be as small as the page size. This change allows us to reduce the chunk size to the point that

Re: cvs commit: src/lib/libutil login_times.c

2006-01-16 Thread Bruce Evans
On Mon, 16 Jan 2006, Robert Watson wrote: rwatson 2006-01-16 11:54:08 UTC FreeBSD src repository Modified files: lib/libutil login_times.c Log: Restore use of strncpy(), as there is later unconditional termination of the string, and reliance on the returned pointer. Foun

cvs commit: ports/devel/cook Makefile distinfo pkg-plist

2006-01-17 Thread Jason Evans
jasone 2006-01-18 03:21:02 UTC FreeBSD ports repository (src committer) Modified files: devel/cook Makefile distinfo pkg-plist Log: Update to cook 2.26. Revision ChangesPath 1.31 +3 -2 ports/devel/cook/Makefile 1.13 +3 -3 ports/devel/c

cvs commit: src/lib/libc/stdlib malloc.c

2006-01-18 Thread Jason Evans
jasone 2006-01-19 02:11:05 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: Return NULL if there is an OOM error during initialization, rather than allowing the error to be fatal. Move a label in order to make sure to properly handle errors in

  1   2   3   4   5   6   7   >