Optimization of n-base typed arithmetic expressions
Abstract
A method for arithmetic expression optimization includes receiving a first instruction defined for a first processor having a first base, the first instruction including an operator and at least one operand, converting the first instruction to a second instruction optimized for a second processor having a second base when all operands do not carry potential overflow or when the operator is insensitive to overflow, the second base being smaller than the first base, and converting to a wider base a third instruction that is the source of the overflow when the at least one operand the potential for overflow and when the operator is sensitive to overflow. An apparatus for arithmetic expression optimization includes at least one memory having program instructions and at least one processor configured to use the program instructions to receive a first instruction defined for a first processor having a first base, convert the first instruction to a second instruction optimized for a second processor having a second base when every one of the at least one operand does not carry potential overflow or when the operator is insensitive to overflow, the second base being smaller than the first
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 7.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for arithmetic expression optimization, comprising: receiving a first instruction defined for a first processor having a first base, said instruction including an operator and at least one operand; and indicating whether said at least one operand has potential overflow based upon whether said at least one operand carries overflow and whether said operator is sensitive to overflow.
- Claim 2Depends on #1
The method of claim 1 wherein said indicating further comprises: indicating said at least one operand does not have potential overflow when said at least one operand does not carry overflow.
- Claim 3Depends on #2
The method of claim 2 wherein said indicating further comprises: indicating said first instruction has potential overflow when said at least one operand carries potential overflow and when said
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (19)
Non-Patent Literature (5)
- "Sun Delivers On Vision to Bring JAVA Technology to the Consumer and Embedded Market", Business Wire, Sep. 28, 1999.
- "Sun Microsystems Announces JAVACARD API", Business Wire, Oct. 1996.
- Chen, Zhiqun, "Java Card(TM) Technology for Smart Cards", Sun Microsystems, pp. 11-16, Jun., 2000.
- Chen, Zhiqun, "Java Card™ Technology for Smart Cards", Sun Microsystems, pp. 11-16, Jun., 2000.
- Lee, Chan Y., "Detecting Out-Of-Range References", http://127.0.0.1:8080/vtopic.isapi?action+View&VdkVgwKev=%2E@2E%2Fdata%2F1 993%2F, Jul. 24, 2002.