[Bug middle-end/35603] branch reordering with FDO

2024-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35603 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug middle-end/35603] branch reordering with FDO

2008-03-16 Thread xinliangli at gmail dot com
--- Comment #3 from xinliangli at gmail dot com 2008-03-17 06:36 --- (In reply to comment #2) > Hmm, reorder basic blocks already takes into the edge probability. > Yes, I checked that gcc is doing good job in code layout with FDO for better icache utilization. -- http://gcc.gnu.o

[Bug middle-end/35603] branch reordering with FDO

2008-03-15 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-03-16 05:08 --- Hmm, reorder basic blocks already takes into the edge probability. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35603

[Bug middle-end/35603] branch reordering with FDO

2008-03-15 Thread xinliangli at gmail dot com
--- Comment #1 from xinliangli at gmail dot com 2008-03-16 05:06 --- (In reply to comment #0) > Given code like: > > if (C1) > { > B1: >.. > } > else if (C2) > { > B2: >... > } > > If edge profile indicates that B2 (Predicate: ^C1 AND C2 ) is hot but B1 > (predicate: C1) is rar