Re: builtins for FPU rounding mode changes

2006-04-07 Thread Richard Henderson
On Fri, Apr 07, 2006 at 03:52:06PM +0200, Sylvain Pion wrote: > My question now is related to the capacity of the compilers in general, > and GCC in particular, to optimize away some of useless rounding mode > function calls. In principal it's not a complex task, though we've nothing to support it

builtins for FPU rounding mode changes

2006-04-07 Thread Sylvain Pion
Dear Richard and GCC list, I am working on a proposal to standardize interval arithmetic in C++. (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1843.pdf) In order to implement it efficiently, one typically needs to use the FPU rounding modes (e.g. using fegetround and fesetround from