This is the mail archive of the
mailing list for the GCC project.
Re: Floating point trouble with x86's extended precision
- From: Chris Lattner <sabre at nondot dot org>
- To: Jim Wilson <wilson at tuliptree dot org>
- Cc: Bradley Lucier <lucier at math dot purdue dot edu>, <gcc at gcc dot gnu dot org>
- Date: Thu, 21 Aug 2003 22:19:02 -0500 (CDT)
- Subject: Re: Floating point trouble with x86's extended precision
> The best pragmatic solution is probably to set the rounding control to
Actually, the easiest thing to do is to change the register allocator to
spill values in their 80-bit form. This at least eliminates the
unpredictable extra rounding that you get because of register pressure.
We use this strategy in the LLVM x86 backend, and it seems to work pretty
well. This obviously is not a complete solution, but it's one easy