This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/22568] Should use cmov in some stituations
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Aug 2005 09:40:24 -0000
- Subject: [Bug rtl-optimization/22568] Should use cmov in some stituations
- References: <20050720134633.22568.arndt@jjj.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rguenth at gcc dot gnu dot org 2005-08-31 09:40 -------
With new tree-codes instead of using COND_EXPR we may use the tree-vectorizers
if-conversion and make expand preserve the conditional moves.
Also it shouldn't be too hard to hack rtl if-conversion to handle the case of
exactly two set's in the then/else block, too, and that may turn out to be
profitable always. Is there any arch whose conditional move will kill
condition codes? RTL is not my best friend (yet), but ifcvt doens't look too bad
either ;)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22568