[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SIGFPE and -mieee



Tyson Whitehead <twhitehe@uwo.ca> writes:

> I've prepared and tested a patch for gcc to address the -mieee
> issue.
> 
> The patch makes -mieee the default and adds a -mieee-disable option
> to make it possible to reverse the default (maybe this should be
> called -mno-ieee).

I'd prefer -mno-ieee.

> I'll submit it to either the gcc mailing list, or as a bug rebort
> against gcc, shortly.  Comments?  Suggestions?

I'm somewhat indetermined about this. Let's see what the gcc list says
about it :)

I'd also suggest -ffast-math turns on -mno-ieee.

> PS: Incidentally, I checked both LAPACK and BLAS (on which ATLAS is
> based).  They are currently both being compiled with -mieee.

They probably have the important routines written in assembly anyway,
so it doesn't matter much.

-- 
	Falk



Reply to: