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/39469] Calculated values replaced with constants even if the constants cost more than the calculations


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

--- Comment #5 from Siarhei Siamashka <siarhei.siamashka at gmail dot com> 2012-12-09 23:31:33 UTC ---
(In reply to comment #4)
> The ARM backend should do a splitter just like the rs6000 back-end does if it
> is faster/smaller to load a constant via the instructions.

I'm not sure if rs6000 is any better. It looks just as bad as ARM, based on my
experience trying to optimize
http://lists.freedesktop.org/archives/pixman/2012-December/002394.html


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