Apparatus and method for array bounds checking with a shadow register file
AssigneeSun Microsystems, Inc.
InventorGautam Dewan
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorGautam Dewan
Estimating the term…
A circuit for processing source code with associated array bounds limitations includes an execution unit that generates a register value signal and an index number signal corresponding to an array value defined in a source code instruction. A primary register is connected to the execution unit. The primary register produces a base memory address signal in response to the register value signal. A shadow register is also connected to the execution unit. The shadow register produces an array bound value signal in response to the register value signal. An address computation circuit is connected to the execution unit and the primary register. The address computation circuit generates an effective memory address signal based upon the base memory address signal and the index number signal. An address comparison circuit generates an array bound error signal when an effective memory address associated with the effective memory address signal exceeds an array bound value associated with the array bound value signal.
A circuit for processing source code with associated array bounds limitations, comprising:
A method of processing source code with associated array bounds limitations, said method comprising the steps of:
A method of processing computer instructions with associated array bounds limitations, comprising the steps of:
Dependencies are inferred from the claim text.