Predictive arithmetic overflow detection
AssigneeSun Microsystems, Inc.
InventorsJudith Schwabe, Zhiqun Chen
Life of this patent
Estimating the term…
Abstract
A method for arithmetic overflow detection includes receiving a first instruction defined for a first processor having a first base, where the instruction comprises an operator and at least one operand having an operand type. The method also includes indicating whether the at least one operand has potential overflow based at least in part on the operator and the relationship between the operand type and a result type associated with the operator.
Claims32
A method for arithmetic overflow detection, comprising:
- receiving a first instruction defined for a first processor having a first base, said instruction comprising an operator and at least one operand having an operand type;
- and
- indicating whether said at least one operand has potential overflow based at least in part on said operator and the relationship between said operand type and a result type associated with said operator.
A method for arithmetic overflow detection, comprising:
- step for receiving a first instruction defined for a first processor having a first base, said instruction comprising an operator and at least one operand having an operand type;
- and
- step for indicating whether said at least one operand has potential overflow based at least in part on said operator and the relationship between said operand type and a result type associated with said operator.
A program storage device readable by a machine, embodying a program of instructions executable by the machine to perform a method for arithmetic overflow detection, the method comprising:
- receiving a first instruction defined for a first processor having a first base, said instruction comprising an operator and at least one operand having an operand type;
- and
- indicating whether said at least one operand has potential overflow based at least in part on said operator and the relationship between said operand type and a result type associated with said operator.
An apparatus for arithmetic overflow detection, comprising:
- means for receiving a first instruction defined for a first processor having a first base, said instruction comprising an operator and at least one operand having an operand type;
- and
- means for indicating whether said at least one operand has potential overflow based at least in part on said operator and the relationship between said operand type and a result type associated with said operator.
Dependencies are inferred from the claim text.