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 tree-optimization/37312] -Os significantly faster than -O2 on test case



------- Comment #3 from andi-gcc at firstfloor dot org  2008-09-01 14:20 -------
Thanks for the us^whelpful comment. If you can suggest a way to do carry
preserving addition without inline assembler that would be fine, otherwise not.

-Os seems to do something that improves it at least (and that is new in 4.4,
4.3 didn't do that)

I suppose -O2 does something more that makes it then worse again. 

I merely filled it because I thought it would be interesting to fix that
something to not pessimize code.




-- 


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


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