Re: gcc-4.1 with fastmath

2006-12-25 Thread Thomas Schwinge
Hello! On Mon, Dec 25, 2006 at 09:51:55PM +0100, Samuel Thibault wrote: > Barry deFreese, le Mon 04 Dec 2006 21:45:01 -0500, a ?crit : > > I was able to build gcc-4.1 with a crtfastmath.o by changing config.gcc > > to the following: > > > > i[34567]86-*-gnu*) > >tmake_file="${tmake_file}

Re: gcc-4.1 with fastmath

2006-12-25 Thread Samuel Thibault
Hi, Barry deFreese, le Mon 04 Dec 2006 21:45:01 -0500, a écrit : > I was able to build gcc-4.1 with a crtfastmath.o by changing config.gcc > to the following: > > i[34567]86-*-gnu*) >tmake_file="${tmake_file} i386/t-crtfm" >;; > > But when running the attached test code compiled

Re: gcc-4.1 with fastmath

2006-12-22 Thread Roland McGrath
> define a new thread_get_state(i386_FLOAT_XSTATE)? correct, or better name ___ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd

Re: gcc-4.1 with fastmath

2006-12-22 Thread Samuel Thibault
Hi, Roland McGrath, le Tue 05 Dec 2006 00:18:52 -0800, a écrit : > gnumach doesn't support newer fpu state for mmx/xmm et al. > would need new thread state flavor for "fpx" or whatever we call it. > cf linux asm/user.h user_i387_struct vs user_fxsr_struct > former is what mach can handle. need

Re: gcc-4.1 with fastmath

2006-12-05 Thread Barry deFreese
Roland McGrath wrote: gnumach doesn't support newer fpu state for mmx/xmm et al. would need new thread state flavor for "fpx" or whatever we call it. cf linux asm/user.h user_i387_struct vs user_fxsr_struct former is what mach can handle. need to handle latter in ctx sw + user thread state fla

Re: gcc-4.1 with fastmath

2006-12-05 Thread Roland McGrath
gnumach doesn't support newer fpu state for mmx/xmm et al. would need new thread state flavor for "fpx" or whatever we call it. cf linux asm/user.h user_i387_struct vs user_fxsr_struct former is what mach can handle. need to handle latter in ctx sw + user thread state flavor, then enable cpu sup

Re: gcc-4.1 with fastmath

2006-12-04 Thread Roland McGrath
show x/i $pc or similar, maybe disas $pc at the fault. Presumably the fxrstor insn. Check the mxcsr value. ___ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd

gcc-4.1 with fastmath

2006-12-04 Thread Barry deFreese
Heya gang, I was able to build gcc-4.1 with a crtfastmath.o by changing config.gcc to the following: i[34567]86-*-gnu*) tmake_file="${tmake_file} i386/t-crtfm" ;; But when running the attached test code compiled with --fast-math, I get the following: Starting program: /devel/