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: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 02 Jan 2012 08:54:44 +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
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |arm*-*-*
Component|middle-end |target
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-02 08:54:44 UTC ---
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.