Compare branch instruction pairing within a single integer pipeline
AssigneeIP-First, LLC
InventorsGerard M. Col, G. Glenn Henry, Rodney E. Hooker
Life of this patent
Estimating the term…
Loading patent…
AssigneeIP-First, LLC
InventorsGerard M. Col, G. Glenn Henry, Rodney E. Hooker
Estimating the term…
An apparatus and method are provided for executing a combined compare-and-branch operation in a single integer pipeline microprocessor. Typically, the compare-and-branch operation is specified by two macro instructions. The first macro instruction, a compare macro instruction, directs the microprocessor to compare two operands, resulting in the update of a flags register to describe various attributes of the comparison result. The second macro instruction, a conditional jump macro instruction, directs the microprocessor to examine the flags register and to branch program control to a target address if a prescribed condition is met. The apparatus has translation logic that combines the compare macro instruction and the conditional jump macro instruction into a single compare-and-branch micro instruction. The single compare-and-branch micro instruction directs the microprocessor to make the comparison and to perform a conditional branch based upon a result of the comparison. The apparatus also has execute logic that is coupled to the translation logic. The execute logic makes the comparison and generates the result. Jump resolution logic in a stage following the execute logic accesses the flags register to resolve the conditional jump operation.
A microprocessor, having a single integer pipeline, for performing a compare-and-branch operation, the microprocessor comprising:
An apparatus in a single pipeline microprocessor for executing a compare-and-branch operation, the apparatus comprising:
An apparatus for executing a macro instruction sequence that directs a microprocessor to compare two register operands, to update a flags register to describe a comparison result, to evaluate the flags register to determine if the comparison result satisfies a prescribed condition, and to transfer program control to a branch target address if the prescribed condition is satisfied, the apparatus comprising:
A method for performing a compare-and-branch operation in a pipeline microprocessor, comprising:
Dependencies are inferred from the claim text.