lkml.org 
[lkml]   [2009]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/5] branch hint tweaks
> Did you run profiling tests again after making these changes to see if
> they had any effect? likely() and unlikely() are only hints. GCC
> doesn't have to follow them, or it could be broken in recent GCC
> versions.

i know, the compiler doesn't have to follow the hint ... but with the
likely/unlikely profiling, not the execution time is profiled, but
whether the branch hint is pointing to the right direction on my machine
... if the assembly is actually affected does probably depend on the
compiler version, instruction set, cpu tuning ...

tim

--
tim@klingt.org
http://tim.klingt.org

The aim of education is the knowledge, not of facts, but of values
William S. Burroughs

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2009-11-24 19:25    [W:0.040 / U:0.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site