Re: fenv.h support for libm

2011-04-19 Thread Martynas Venckus
On 4/18/11, Matthew Dempsky matt...@dempsky.org wrote: On Sun, Apr 17, 2011 at 5:29 PM, Philip Guenther guent...@gmail.com wrote: I haven't worked through all the bit-twiddling and asm, but what I have looks good and the abundance of regress tests that keep showing up in cvs up -d inspires

Re: fenv.h support for libm

2011-04-18 Thread Matthew Dempsky
On Sun, Apr 17, 2011 at 5:29 PM, Philip Guenther guent...@gmail.com wrote: I haven't worked through all the bit-twiddling and asm, but what I have looks good and the abundance of regress tests that keep showing up in cvs up -d inspires confidence. With that x87--__x87 nit, ok guenther@ ok

Re: fenv.h support for libm

2011-04-17 Thread Martynas Venckus
The diff I sent before has been corrupted by Gmail (wrapped diff lines). I'm re-attaching it below. Index: include/Makefile === RCS file: /cvs/src/include/Makefile,v retrieving revision 1.157 diff -u -r1.157 Makefile ---

Re: fenv.h support for libm

2011-04-16 Thread Martynas Venckus
On 3/22/11, Mark Kettenis mark.kette...@xs4all.nl wrote: Date: Sun, 20 Mar 2011 03:08:41 +0200 From: Martynas Venckus marty...@venck.us Index: include/fenv.h === RCS file: include/fenv.h diff -N include/fenv.h --- /dev/null

Re: fenv.h support for libm

2011-03-22 Thread Mark Kettenis
Date: Sun, 20 Mar 2011 03:08:41 +0200 From: Martynas Venckus marty...@venck.us Index: include/fenv.h === RCS file: include/fenv.h diff -N include/fenv.h --- /dev/null 1 Jan 1970 00:00:00 - +++ include/fenv.h18 Mar

Re: fenv.h support for libm

2011-03-19 Thread Mark Kettenis
Date: Sun, 13 Mar 2011 20:22:23 -0700 From: Philip Guenther guent...@gmail.com These headers violate POSIX namespace rules in various ways: - pulling in sys/stdint.h, machine/fpu.h, and i386/npx.h defines names that aren't permitted. (seems unnecessary too; just use unsigned

Re: fenv.h support for libm

2011-03-14 Thread Matthew Dempsky
On Sun, Mar 13, 2011 at 8:22 PM, Philip Guenther guent...@gmail.com wrote: Hmm, any test programs that are smaller and preferably not need X11? My little V100 takes forever with a build as is... I don't know of any at the moment. I'll try to look for something. You should be using

Re: fenv.h support for libm

2011-03-14 Thread Matthew Dempsky
On Tue, Mar 8, 2011 at 11:50 AM, Matthew Dempsky matt...@dempsky.org wrote: Currently, the diff only supports amd64, i386, and sparc64 (the only arches that NetBSD supports fenv.h on), I'd also appreciate help on adding support for the other platforms. Thanks!

Re: fenv.h support for libm

2011-03-13 Thread Brad
On 08/03/11 2:50 PM, Matthew Dempsky wrote: The diff below adds support for C99'sfenv.h to libm. It's based on NetBSD's implementation with minimal changes to work on OpenBSD. Currently, the diff only supports amd64, i386, and sparc64 (the only arches that NetBSD supports fenv.h on), but I've

Re: fenv.h support for libm

2011-03-13 Thread Philip Guenther
On Sun, Mar 13, 2011 at 9:14 AM, Brad b...@comstyle.com wrote: On 08/03/11 2:50 PM, Matthew Dempsky wrote: The diff below adds support for C99'sfenv.h to libm. It's based on NetBSD's implementation with minimal changes to work on OpenBSD. Currently, the diff only supports amd64, i386, and