Method and system for compiler optimization
Abstract
Aspects of the disclosure provide a method for code compilation. The method includes receiving instructions of a loop code for compiling, allocating one or more registers to variables before compiling the instructions into a loop body for the loop code, and compiling the instructions into the loop body based on the allocated registers.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method executed by a processor for code compilation, comprising: receiving instructions of a loop code in bytecode for compiling; scanning the loop code to collect a list of virtual registers; allocating one or more physical registers to the virtual registers before compiling the instructions into a loop body to generate native code for the loop code in the bytecode; compiling the instructions into the loop body to generate the native code based on the allocated physical registers; and adding an allocation instruction in a loop entry block of the native code to be executed before the loop bo
- Claim 2Depends on #1
The method of claim 1 , further comprising: scanning the instruct
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 (14)
Non-Patent Literature (4)
- Andreas Gal, et al., "HotpathVM: An Effective JIT Compiler for Resource-constrained Devices" ISBN: 978-1-59593-332-4, XP007902026, Jun. 14, 2006, pp. 144-153.
- International Search Report and Written Opinion issued Jan. 29, 2015 in PCT/IB2014/002374.
- Michael Bebenita, et al., "SPUR: A Trace-Based JIT Compiler for CIL" Proceedings of the 2009 ACM SIGPLAN Conference on Programming Language Design and Implementation, vol. 45, No. 10, XP055150227, Oct. 17, 2010, pp. 708-725.
- Yuan Zhang, et al., "Swift: A Register-based JIT compiler for Embedded JVMs" Proceedings of the 8th ACM SIGPLAN/SIGOPS Conference on Virtual Execution Environments, XP055162274, Mar. 3, 2012, pp. 63-73.