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: 46 · Forward citations: 2.
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 converting said first instruction to a second instruction optimized for a second processor having a second base when said at least one operand does not carry potential overflow beyond said second base or when said operator is insensitive to overflow, said second base smaller than said first base.
- Claim 2Depends on #1
The method of claim 1 , further comprising, after said converting said first instruction, returning to receiving said first instruction until all instructions defined for said first processor are converted.
- Claim 3Depends on #1
The method of claim 1 , further comprising rejecting an expression that cannot be optimized to a smaller base on said second processor.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (46)
Non-Patent Literature (5)
- Daniels, John et al., "Strategies For Sharing Objects In Distributed Systems", JOOP, Object Designers Ltd. UK, pp. 27-36, no data find.
- George E. Necula et al., "Proof Carrying Code", Nov. 1996, pp. 1-60.
- Glossner et al., "Delft-Java Dynamic Translation", Euromicro Conference, 1999. Proceedings, IEEE Computer Society, Los Alamitos, CA, Sep. 8, 1999, pp. 57-62. (XP010352195).
- Jags, "cs510jip Compressed Data Loader", Jags<SUB>-</SUB>report, May 21, 1998, pp. 1-9, Retrieved online Dec. 16, 2005 from URL:<http://www.cs.pdx.edu/~apt/cs510jip<SUB>-</SUB>1998/jags<SUB>-</SUB>report/report.html>.
- McDermott et al., "Smart Card: Java-Java and Smart Cards", Aug. 27, 1999, pp. 1-2 [Online]. Retrieved on Nov. 20, 2006 from the Internet: <URL:http://web.archive.org/web/19990827234400/http://web.mit.edu/ecom/Spring1997/gr12/6JAVA.HTM>. (XP002208203).