This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/28919] IV selection is messed up
- From: "steven 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 Sep 2006 04:15:48 -0000
- Subject: [Bug target/28919] IV selection is messed up
- References: <bug-28919-9709@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from steven at gcc dot gnu dot org 2006-09-18 04:15 -------
To cut down the estimate for the loop size, you need to treat CALL_EXPRs to
machine specific builtins specially (and probably some of the normal builtins
too). See estimate_num_insns_1, the case for CALL_EXPR. You probably need to
add a target hook to make this work. This has been discussed before on the
mailing lists.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28919