Overflow predictive arithmetic instruction optimization using chaining
AssigneeSun Microsystems, Inc., a Delaware Corporation
InventorsJudith Schwabe, Zhigun Chen
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc., a Delaware Corporation
InventorsJudith Schwabe, Zhigun Chen
Estimating the term…
A method for arithmetic expression optimization includes receiving an operator and at least one operand of a first instruction defined for a first processor having a first base. The method also includes converting the first instruction to a second instruction optimized for a second processor having a second base smaller than the first base when overflow is impossible based at least in part on the operator and the relationship between the operand type and the second base. The method also includes converting instructions in an instruction chain to a wider base larger than the second base and smaller or equal to the first base when the at least one operand carries potential overflow beyond the second base and when the operator is sensitive to overflow. The chain is bounded by the second instruction and a third instruction that has been previously optimized and is the source of the potential overflow.
A method for arithmetic expression optimization, comprising:
A method for arithmetic expression optimization, comprising:
A program storage device readable by a machine, embodying a program of instructions executable by the machine to perform a method for arithmetic expression optimization, the method comprising:
An apparatus for arithmetic expression optimization, comprising:
A method of using an application software program including arithmetic expression optimization of at least one instruction targeted to a processor, the method comprising:
A smart card having a microcontroller embedded therein, said microcontroller configured to execute a virtual machine, the virtual machine capable of executing a software application comprising a plurality of previously optimized instructions, the instructions optimized by a method comprising:
Dependencies are inferred from the claim text.