[Bug tree-optimization/23622] Dom jump threading at -O1 confuses branch prediction

2013-09-17 Thread law at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23622 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug tree-optimization/23622] Dom jump threading at -O1 confuses branch prediction

2005-09-15 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-15 19:28 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E

[Bug tree-optimization/23622] Dom jump threading at -O1 confuses branch prediction

2005-08-29 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-29 16:20 --- If we run CCP right after DOM and do a DCE, we get a cleaned up loops. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23622

[Bug tree-optimization/23622] Dom jump threading at -O1 confuses branch prediction

2005-08-29 Thread rakdver at gcc dot gnu dot org
--- Additional Comments From rakdver at gcc dot gnu dot org 2005-08-29 13:18 --- Sorry, I have simplified the testcase and only looked at the dom1 dump. You need the following testcase to reproduce the problem (for the second loop): void foo (void) { int i; for (i = 0; i < 100; i+

[Bug tree-optimization/23622] Dom jump threading at -O1 confuses branch prediction

2005-08-29 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-29 12:57 --- Hmm, in dom1 we get: : goto (); # i_4 = PHI ; :; something (); i_3 = i_4 + 1; # i_1 = PHI ; :; if (i_1 <= 99) goto ; else goto ; :; return; # i_2 = PHI <0(0)>; :; goto (); In PHI-OPT