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] |
Other format: | [Raw text] |
On Sat, 2005-06-18 at 16:45 -0400, Robert Dewar wrote:
Mattias Karlsson wrote:
Since the "gcc-is-buggy" solution of changing x87 rounding modes will: 1) Be a lot of work. 2) Cause a lot of regressions.
To this you can add
3) generate less efficient code
Changing the default rounding of the processor will make code less efficient?
Laurent
Yes, if you have to change it backwards and forwards for float and double ... and if you insist on getting the range right as well as the precision, then you have to do extra stores. Changing the rounding mode alone does not give what people call IEEE behavior.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |