blt+

Branch if Less Than, Predict Taken

blt+ target

Branches to the target address if CR0 reflects condition 'less than', predicting the branch will be taken.

Details

The instruction branches to the specified target address if the less-than condition is set in CR0. The prediction hint indicates that the branch is almost always taken.

Pseudocode Operation

if CR0[LT] then
    branch to target

Programming Note

Use blt+ when branching based on a less-than comparison where the branch is expected to be taken frequently. Ensure CR0 is correctly set with the result of the comparison before using this instruction. The prediction hint can improve performance by reducing pipeline stalls, but it should match the actual branch behavior.

Example

blt+ target

Encoding

Binary Layout
1
0
LK
31
AA
30
LI
29
BO
26
BI
21
BH
20
A
16
AT
17
 
Format B-form
Opcode
Extension Base
Registers Altered CR0, LR

Operands

  • target
    Target Address