Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Difference between beq and beq+



On Wed, 10 Mar 2010 01:06:59 -0800 (PST)
Ajay Yadav <ajay.yadav%honeywell.com@localhost> wrote:

> Please tell what's the difference between beq and beq+

A + or - sign following a branch mnemonic sets the instruction's branch
prediction flag.

Usually the PowerPC will predict forward branches as false and backward
branches as true. If you think this is not right you may change the
default prediction with appending + or - (where + means predict as true).

-- 
Frank Wille


Home | Main Index | Thread Index | Old Index