Re: [PATCH 1/6] ehea: interface to network stack

From
Anton Blanchard <hidden>
Date
2006-08-14 14:40:47
Also in
lkml, netdev
Reply to
Jörn Engel, 2006-08-14
Is a conditional cheaper than a divide?  In case of a misprediction I
would assume it to be significantly slower and I don't know the ratio
of mispredictions for this branch.
A quick scan of the web shows 40 cycles for athlon64 idiv, and its
similarly slow on many other cpus. Even assuming you mispredict every
branch its going to be a win.

Anton
Thread (13 messages) 13 messages, 7 authors, last reply 2006-08-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help