Optimizing code based on resource sensitive hoisting and sinking
Abstract
A method and apparatus for optimizing code using resource based partial elimination techniques is disclosed. At least one location is identified in the code wherein the at least one location has available resources. One of the plurality of instructions is moved to the at least one location according to partial elimination techniques.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 28.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer implemented method for optimizing computer code using resource based partial elimination techniques, said code including a plurality of instructions, the method comprising: identifying at least one location in said computer code that has available resources; executing said computer code to generate path profiling information; and calculating a cost and a benefit for moving one of said plurality of instructions to said at least one location, said cost and said benefit based on said path profiling information; and moving said one of said plurality of instructions according to sa
- Claim 2Depends on #1
The computer implemented method according to claim 1 wherein moving said one of said plurality of instructions comprises moving said one of said plurality of instructions wh
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 28 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (5)
- "Efficient Path Profiling", Thomas Ball, James R. Larus, Proceedings of the 29th Annual IEEE/AMC International Symposium on Microarchitecture, Dec. 1996, Paris, France, pp. 46-57.
- "Lazy Code Motion", Jens Knoop, et al., ACM SIGPLAN '92 PLDI-Jun. 1992/CA, pp. 224-234.
- "Partial Dead Code Elimination", Jens Knoop, et al.,SIGPLAN 94-Jun. 1994 Orlando, FL USA, pp. 147-157.
- "Theoretical Aspects of Computer Software", T. Ito, A.R. Meyer, International Conference TACS 1991, Sendai, Japan, Sep. 24-27, 1991 Proceedings, pp. 347-364.
- Efficient Path Profiling , Thomas Ball, James R. Larus, Proceedings of the 29th Annual IEEE/AMC International Symposium on Microarchitecture, Dec. 1996, Paris, France, pp. 46 57.