Algorithm for 64-bit address mode optimization
Abstract
One embodiment of the present invention sets forth a technique for extracting a memory address offset from a 64-bit type-conversion expression included in high-level source code of a computer program. The technique involves receiving the 64-bit type-conversion expression, where the 64-bit type-conversion expression includes one or more 32-bit expressions, determining a range for each of the one or more 32-bit expressions, calculating a total range by summing the ranges of the 32-bit expressions, determining that the total range is a subset of a range for a 32-bit unsigned integer, calculating the memory address offset based on the ranges for the one or more 32-bit expressions, and generating at least one assembly-level instruction that references the memory address offset.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 34 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for extracting a memory address offset from a 64-bit type-conversion expression included in high-level source code of a computer program, the method comprising: receiving the 64-bit type-conversion expression, wherein the 64-bit type-conversion expression includes one or more 32-bit expressions; for each of the one or more 32-bit expressions, determining a range for the 32-bit expression; calculating a total range by summing the ranges of the 32-bit expressions; determining that the total range is a subset of a range for a 32-bit unsigned integer; calculating the memory address offset
- Claim 2Depends on #1
The method of claim 1 , wherein a first 32-bit expression inc
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (34)
Non-Patent Literature (5)
- Anatoliy Kuznetsov, "64-bit Programming and Optimization", 2002 SourceForge, pp. 1-3; .
- Anatoliy Kuznetsov, “64-bit Programming and Optimization”, 2002 SourceForge, pp. 1-3; <http://bmagic.sourceforge.net/bm64opt.html>.
- Helge Rhodin, "A PTX Code Generator for LLVM", Oct. 29, 2010, Saarland University, Saarbrücken, Germany, pp. 1-63; .
- Helge Rhodin, “A PTX Code Generator for LLVM”, Oct. 29, 2010, Saarland University, Saarbrücken, Germany, pp. 1-63; <www.cdl.uni-saarland.de/publications/theses/rhodin—bsc.pdf>.
- International Search Report and Written Opinion dated Jan. 31, 2013, International Application No. PCT/US12/63730.