This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/39469] Calculated values replaced with constants even if the constants cost more than the calculations
- From: "siarhei.siamashka at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 09 Dec 2012 23:31:33 +0000
- Subject: [Bug target/39469] Calculated values replaced with constants even if the constants cost more than the calculations
- Auto-submitted: auto-generated
- References: <bug-39469-4@http.gcc.gnu.org/bugzilla/>
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