This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/15792] missed subreg optimization
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jan 2006 04:45:50 -0000
- Subject: [Bug rtl-optimization/15792] missed subreg optimization
- References: <bug-15792-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-01-18 04:45 -------
The problem here is that we don't split up the subregister early before
register allocation.
If we split it up before combine, we would be able to combine the or and get
the more optimial results.
A patch like
http://gcc.gnu.org/ml/gcc-patches/2005-05/msg00554.html
should help.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15792