Method and apparatus for modifying instruction operations in a processor
AssigneeInternational Business Machines Corporation
InventorsJohn Edward Derrick, Lee Evan Eisen, Kevin Franklin Reick
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsJohn Edward Derrick, Lee Evan Eisen, Kevin Franklin Reick
Estimating the term…
A “soft-patch” allows an instruction or group of instructions to be replaced with a pre-loaded instruction or group of instructions. When an Instruction Fetch Unit (IFU) fetches an instruction, the instruction is sent through a Compare and Mask (CAM) circuit which masks and compares, in parallel, the instruction with up to eight pre-defined masks and values. The masks and values are pre-loaded by a service processor to CAM circuits which are located in an Instruction Dispatch Unit (IDU) and the IFU in the central processor. An instruction that is deemed a match, is tagged by the IFU as a “soft-microcode” instruction. When the IDU receives the soft-microcode instruction for decoding, it detects the soft microcode marking and sends the marked instruction to a soft-microcode unit; a separate parallel pipeline in the IDU. The soft-microcode unit then sends the instruction through a CAM circuit which returns an index (or address) for RAM. The index is used to read values out of IDU RAM and generate replacement instructions. Additionally, an Internal Operation that will cause the processor core to perform an unconditional branch to a fixed real address, can be loaded into the IDU RAM allowing an instruction to be replaced by a subroutine or handler routine contained outside the processor core.
A method for providing replacement instructions in a pipelined processor, comprising the steps of:
An apparatus for generating replacement instructions in a pipelined processor, comprising the steps of:
A computer programmable product within a computer readable medium for generating replacement instructions in a pipelined processor, comprising:
Dependencies are inferred from the claim text.