lkml.org 
[lkml]   [1997]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: copy-bit macro
Date
"Theodore Y. Ts'o" <tytso@MIT.EDU> writes:
> (1 << OUT_FLAG_NUMBER) : 0") both involve an assembly language
> conditional jump instruction, which is expensive, because it involves
> pipeline stalls, etc.

Has it been measured ? I know that branch prediction is not 100%, but
I'm just trying to make sure we're not trying to solve a non-problem (if the
prediction works well, then the jump costs 0 (zero) cycles).


Stefan

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.039 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site