Overflow predictive arithmetic instruction optimization using chaining
Abstract
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 35 · Forward citations: 4.
Claims (1 — 1 Independent, 0 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 comprising an operator and at least one operand having an operand type; converting said first instruction to a second instruction optimized for a second processor having a second base when overflow is not possible based at least in part on said operator and the relationship between said operand type and said second base, said second base smaller than said first base; and converting instructions in a chain of instructions to a wider base
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (35)
Non-Patent Literature (5)
- Daniels, John et al., "Strategies For Sharing Objects In Distributed Systems", JOOP, Object Designers Ltd. UK, pp. 27-36.
- George E. Necula et al., "Proof Carrying Code", Nov. 1996, pp. 1-60.
- Michael Shuttle et al., "Exact Rounding of Certain Elementary Functions", Jun. 29, 1993, pp. 138-145.
- Ritchey, Tim, "Advanced Topics: The Java Virtual Machine" JAVA!, Chapter 14, pp. 25-346, Sep. 22, 1995.
- Sun Microsystems, Inc., "Java Card(TM) 2.0 Application Programming Interfaces", Oct. 13, 1997, Rev. 1.0.