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.
Encoding
Binary Layout
1
LK
AA
LI
BO
BI
BH
A
AT
Operands
-
target
Target Address
Registers Altered
CR0, LRRelated
More in Base
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
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.
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.