Re: PATCH: Enable FTZ/DAZ for SSE via fast math

2005-08-11 Thread H. J. Lu
On Thu, Aug 11, 2005 at 11:27:42PM +0100, Nix wrote: > On 10 Aug 2005, H. J. Lu said: > > + /* SSE is the part of 64bit. Only need to check it for 32bit. */ > > Grammar nit: this should probably be > > + /* All 64-bit targets have SSE; only check it explicitly for 32-bit ones. > */ > > or s

Re: PATCH: Enable FTZ/DAZ for SSE via fast math

2005-08-11 Thread Nix
On 10 Aug 2005, H. J. Lu said: > + /* SSE is the part of 64bit. Only need to check it for 32bit. */ Grammar nit: this should probably be + /* All 64-bit targets have SSE; only check it explicitly for 32-bit ones. */ or something like that. > + : "i" (0x0020)); > + if (((eax

Re: PATCH: Enable FTZ/DAZ for SSE via fast math

2005-08-10 Thread Richard Henderson
On Wed, Aug 10, 2005 at 08:48:44AM -0700, H. J. Lu wrote: > * config.gcc (i[34567]86-*-linux*): Add i386/t-crtfm to tm-file. > (x86_64-*-linux*): Likewise. > > * config/i386/crtfastmath.c: New file. > * config/i386/t-crtfm: Likewise. > > * config/i386/linux.h (ENDFIL

Re: PATCH: Enable FTZ/DAZ for SSE via fast math

2005-08-10 Thread H. J. Lu
On Wed, Aug 10, 2005 at 08:13:17AM -0700, H. J. Lu wrote: > On Wed, Aug 10, 2005 at 10:18:41AM -0400, Jakub Jelinek wrote: > > On Wed, Aug 10, 2005 at 07:09:04AM -0700, H. J. Lu wrote: > > > On Tue, Aug 09, 2005 at 02:58:51PM -0700, Richard Henderson wrote: > > > > On Tue, Aug 09, 2005 at 02:30:46P

Re: PATCH: Enable FTZ/DAZ for SSE via fast math

2005-08-10 Thread H. J. Lu
On Wed, Aug 10, 2005 at 10:18:41AM -0400, Jakub Jelinek wrote: > On Wed, Aug 10, 2005 at 07:09:04AM -0700, H. J. Lu wrote: > > On Tue, Aug 09, 2005 at 02:58:51PM -0700, Richard Henderson wrote: > > > On Tue, Aug 09, 2005 at 02:30:46PM -0700, H. J. Lu wrote: > > > > There is a minor problem. How can

Re: PATCH: Enable FTZ/DAZ for SSE via fast math

2005-08-10 Thread Jakub Jelinek
On Wed, Aug 10, 2005 at 07:09:04AM -0700, H. J. Lu wrote: > On Tue, Aug 09, 2005 at 02:58:51PM -0700, Richard Henderson wrote: > > On Tue, Aug 09, 2005 at 02:30:46PM -0700, H. J. Lu wrote: > > > There is a minor problem. How can I add crtfastmath.o for SSE targets > > > only? > > > > You don't.

PATCH: Enable FTZ/DAZ for SSE via fast math

2005-08-10 Thread H. J. Lu
On Tue, Aug 09, 2005 at 02:58:51PM -0700, Richard Henderson wrote: > On Tue, Aug 09, 2005 at 02:30:46PM -0700, H. J. Lu wrote: > > There is a minor problem. How can I add crtfastmath.o for SSE targets > > only? > > You don't. You either add code to detect sse, or you make the > spec depend on -m