Processor with accelerated array access bounds checking
AssigneeSun Microsystems, Inc.
InventorsMarc Tremblay, James Michael O'Connor, William N. Joy
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorsMarc Tremblay, James Michael O'Connor, William N. Joy
Estimating the term…
An array boundary checking apparatus is configured to verify that a referenced element of an information array is within a maximum array size boundary value and a minimum array size boundary value. The array boundary checking apparatus of the invention includes an associative memory element that stores and retrieves a plurality of array bound values. Each one of the plurality of array bound values is associated with one of the plurality of array access instructions. An input section simultaneously compares the array access instruction identifier with at least a portion of each of the stored array reference entries, wherein the array access instruction identifier identifies an array access instruction. An output section is configured to provide as an array bounds output values one of the plurality of array bound values stored in one of the plurality of memory locations of the associated memory element. A first comparison element compares the value of the referenced element and the maximum array index boundary value and provides a maximum violation signal if the value of the element is greater than the maximum array size boundary value. A second comparison element compares the value of the element and the minimum array size boundary value and provides a minimum violation signal if the value of the element is less than the minimum array bounds value. Either a maximum violation signal or a minimum violation signal results in an exception.
An array bounds checking apparatus configured to verify that each access of an array is within a maximum array size boundary value and a minimum array size boundary value, the apparatus comprising:
An array bounds checking apparatus configured to verify that a refernced element of an array is within a maximum array size boundary value and a minimum array size boundary value, the apparatus comprising:
A method of verifying that a referenced element of an array is within a maximum array size boundary value and a minimum array size boundary value, the method comprising:
A method to verify that a referenced element of an array is within a maximum array size boundary value and a minimum array size boundary value, the method comprising:
A method of providing an array boundary checking apparatus configured to verify that a referenced element of an array is within a maximum array size boundary value and a minimum array size boundary value, the method comprising:
A computer system comprising:
A computer system comprising:
Dependencies are inferred from the claim text.