public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug middle-end/49946] New: Thread jumps confuse loop unrolling @ 2011-08-02 14:41 izamyatin at gmail dot com 2011-08-03 15:27 ` [Bug middle-end/49946] " izamyatin at gmail dot com ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: izamyatin at gmail dot com @ 2011-08-02 14:41 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49946 Summary: Thread jumps confuse loop unrolling Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned@gcc.gnu.org ReportedBy: izamyatin@gmail.com Created attachment 24892 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24892 test for loop unrolling I see exactly the case that was mentioned here - http://gcc.gnu.org/ml/gcc/2010-01/msg00057.html: exp_gcc/gcc -c -O3 test_unroll.c -fno-tree-dominator-opts performs complete unroll and exp_gcc/gcc -c -O3 test_unroll.c does not do the unroll ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/49946] Thread jumps confuse loop unrolling 2011-08-02 14:41 [Bug middle-end/49946] New: Thread jumps confuse loop unrolling izamyatin at gmail dot com @ 2011-08-03 15:27 ` izamyatin at gmail dot com 2011-08-08 11:35 ` izamyatin at gmail dot com ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: izamyatin at gmail dot com @ 2011-08-03 15:27 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49946 --- Comment #1 from Igor Zamyatin <izamyatin at gmail dot com> 2011-08-03 15:26:57 UTC --- Used compiler: Target: x86_64-unknown-linux-gnu Thread model: posix gcc version 4.7.0 20110802 (experimental) (GCC) ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/49946] Thread jumps confuse loop unrolling 2011-08-02 14:41 [Bug middle-end/49946] New: Thread jumps confuse loop unrolling izamyatin at gmail dot com 2011-08-03 15:27 ` [Bug middle-end/49946] " izamyatin at gmail dot com @ 2011-08-08 11:35 ` izamyatin at gmail dot com 2021-11-29 6:34 ` [Bug tree-optimization/49946] " pinskia at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: izamyatin at gmail dot com @ 2011-08-08 11:35 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49946 --- Comment #2 from Igor Zamyatin <izamyatin at gmail dot com> 2011-08-08 11:35:32 UTC --- cunrolli does not handle the loop in the testcase because of the condition "ul == UL_NO_GROWTH && unr_insns > ninsns" in try_unroll_loop_completely. Meanwhile may_increase_size is true in tree_unroll_loops_completely. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/49946] Thread jumps confuse loop unrolling 2011-08-02 14:41 [Bug middle-end/49946] New: Thread jumps confuse loop unrolling izamyatin at gmail dot com 2011-08-03 15:27 ` [Bug middle-end/49946] " izamyatin at gmail dot com 2011-08-08 11:35 ` izamyatin at gmail dot com @ 2021-11-29 6:34 ` pinskia at gcc dot gnu.org 2021-12-09 9:30 ` marxin at gcc dot gnu.org 2024-03-17 1:20 ` pinskia at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu.org @ 2021-11-29 6:34 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49946 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needs-bisection Last reconfirmed| |2021-11-29 Component|middle-end |tree-optimization Ever confirmed|0 |1 Severity|normal |enhancement Status|UNCONFIRMED |NEW --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed, though it looks like it was fixed on the trunk. There has been a "few" jump threading patches which would have improved this situation. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/49946] Thread jumps confuse loop unrolling 2011-08-02 14:41 [Bug middle-end/49946] New: Thread jumps confuse loop unrolling izamyatin at gmail dot com ` (2 preceding siblings ...) 2021-11-29 6:34 ` [Bug tree-optimization/49946] " pinskia at gcc dot gnu.org @ 2021-12-09 9:30 ` marxin at gcc dot gnu.org 2024-03-17 1:20 ` pinskia at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: marxin at gcc dot gnu.org @ 2021-12-09 9:30 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49946 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aldyh at gcc dot gnu.org, | |marxin at gcc dot gnu.org Known to fail| |11.2.0 Known to work| |12.0 Keywords|needs-bisection | --- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- Fixed with r12-2591-g2e96b5f14e402569. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/49946] Thread jumps confuse loop unrolling 2011-08-02 14:41 [Bug middle-end/49946] New: Thread jumps confuse loop unrolling izamyatin at gmail dot com ` (3 preceding siblings ...) 2021-12-09 9:30 ` marxin at gcc dot gnu.org @ 2024-03-17 1:20 ` pinskia at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu.org @ 2024-03-17 1:20 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49946 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |12.0 Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Fixed. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-03-17 1:20 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-08-02 14:41 [Bug middle-end/49946] New: Thread jumps confuse loop unrolling izamyatin at gmail dot com 2011-08-03 15:27 ` [Bug middle-end/49946] " izamyatin at gmail dot com 2011-08-08 11:35 ` izamyatin at gmail dot com 2021-11-29 6:34 ` [Bug tree-optimization/49946] " pinskia at gcc dot gnu.org 2021-12-09 9:30 ` marxin at gcc dot gnu.org 2024-03-17 1:20 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).