This is the mail archive of the gcc-bugs@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]

[Bug target/17619] Non-optimal code for -mfpmath=387,sse


------- Additional Comments From bangerth at dealii dot org  2004-09-22 21:22 -------
> You cannot do this transformation except with -ffast-math. 
 
What do you mean by that? Certainly the addition of a zero floating point constant 
can be avoided even without -ffast-math (or other unsafe math operations). If there 
should be an overflow or similar during this operation, then it should have triggered the 
relevant exceptions already in the multiplication that computed the second addend. 
 
However, I don't want to dwell on this point -- the fact that we have unnecessary stack 
moves is what bothers me. 
 
W. 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17619


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