This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/10982] [arm] poor optimisation of "if (var & const)"
- From: "rearnsha at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 May 2004 22:19:38 -0000
- Subject: [Bug target/10982] [arm] poor optimisation of "if (var & const)"
- References: <20030526135310.10982.pb@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rearnsha at gcc dot gnu dot org 2004-05-16 22:19 -------
The proposed patch isn't quite correct. There are already patterns that can be
used as the target of the split, so there's no need to add new ones, and the
split needs to
1) Convert operand2
2) Not apply to Thumb state
Patch forthcoming.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Component|rtl-optimization |target
Last reconfirmed|2004-01-01 07:59:12 |2004-05-16 22:19:36
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10982