> Am 30.11.2024 um 08:19 schrieb Mateusz Guzik via Gcc :
>
> Tested with gcc 14.2 and the Linux kernel compiling for amd64. This is
> at Linux next-20241127. This was already the case on gcc 13 (no idea
> about earlier versions), I tested 14 to see if the problem is gone.
>
> In the particula
On 05/30/2013 03:03 PM, Raphael Clifford wrote:
> Thank you for this. My question was about something more specific
> however. I am interested specifically in branch prediction. For
> example one could add __builtin_expect or the compiler can use the
> information it finds in its profiling. How
Thank you for this. My question was about something more specific
however. I am interested specifically in branch prediction. For
example one could add __builtin_expect or the compiler can use the
information it finds in its profiling. How is this information used
by gcc to provide optimised ass
> Is there any documentation for what gcc does with branch prediction
> information it gets from profiling? I am interested in this for
> modern Pentium processors where you can no longer give hints.
The profile feedback drives optimizations (i.e. decision what to optimize for
speed and what for