Re: How many branches in a loop can be predicted successfully ?
by MitchAlsup <MitchAlsup@[EMAIL PROTECTED]
>
May 6, 2008 at 03:17 PM
On May 6, 1:10=A0pm, "Skybuck Flying" <BloodySh...@[EMAIL PROTECTED]
> wrote:
> So I think this means:
>
> if True then
> begin
> =A0 =A0 // processor will think this won't be executed at the first
time.
> end;
You got that one backwards. The
if( TRUE )
{
// this code will always be executed
}
So the branch associated with the if statement will never be taken.
But ANY reasonable compiler will remove the branch.