This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: FLOATING-POINT CONSISTENCY, -FFLOAT-STORE, AND X86


What would the performance cost be if we spilled ix86 FP registers
as 80 bits?  Unfortunately I'm not familiar enough with the ix86
instruction set to answer this question for myself.  How difficult
would it be to change gcc to do 80 bit spills, without changing
the size of float and double?

It seems to me that it should cost a lot less than -ffloat-store
and should get rid of the unpredictable behavior.  (Yes, it still
doesn't match IEEE unless more is done, but it stops weirdness like
root-finding algorithms that fail to converge if you're unlucky).




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]