[Bug target/60827] Inconsistent optimize_function_for_speed_p in *fixuns_trunc_1

2014-04-14 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60827 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/60827] Inconsistent optimize_function_for_speed_p in *fixuns_trunc_1

2014-04-14 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60827 --- Comment #3 from Uroš Bizjak --- As said in [1], the predicates for expanders and insns can be different. The insn can be moved from hot BB to cold BB and vice versa, so the insn predicate shouldn't depend on BB type. IOW, insn template should

[Bug target/60827] Inconsistent optimize_function_for_speed_p in *fixuns_trunc_1

2014-04-14 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60827 --- Comment #2 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 14 17:01:03 2014 New Revision: 209385 URL: http://gcc.gnu.org/viewcvs?rev=209385&root=gcc&view=rev Log: Revert the last change on *fixuns_trunc_1 PR target/60827 *

[Bug target/60827] Inconsistent optimize_function_for_speed_p in *fixuns_trunc_1

2014-04-14 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60827 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Apr 14 16:49:24 2014 New Revision: 209383 URL: http://gcc.gnu.org/viewcvs?rev=209383&root=gcc&view=rev Log: Check optimize_insn_for_speed_p in *fixuns_trunc_1 Since fixuns_trun