Method and apparatus for predicting the effective addresses of future memory load operations in a microprocessor
AssigneeSun Microsystems, Inc.
InventorEric H. Jensen
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorEric H. Jensen
Estimating the term…
A method and apparatus for loading a data value for a future LOAD instruction in a microprocessor by predicting the LOAD instruction's effective address. At each occurrence of a LOAD instruction, the effective address used is stored in a memory array which stores a last effective address and a next-to-last effective address. At a specified period before each LOAD instruction, the microprocessor loads a data value from a predicted effective memory address computed from the memory array. The predicted effective memory address is equal to the last effective address plus the difference between the last effective address and the next-to-last effective address. If the predicted effective address equals the actual effective address of the future LOAD instruction, the loaded data value is used.
A method for loading a data value from a memory into a microprocessor for a future LOAD instruction, said microprocessor having a program counter containing an address of a current instruction and having a memory array comprising a plurality of memory lines, each of said memory lines comprising a last effective address field storing a last effective address and a next-to-last effective address field storing a next-to-last effective address, said method comprising the steps of:
An apparatus in a microprocessor for loading a data value from a memory into the microprocessor for a future LOAD instruction, said microprocessor having a program counter containing an address of a current instruction, said apparatus comprising:
Dependencies are inferred from the claim text.