Method for fast execution of translated binary code utilizing database cache for low-level code correspondence
Abstract
The present invention increases efficiency of a binary translation process by correlating selected foreign code to previously translated binary host code. This approach eliminates repetitive translation of foreign code when the foreign code is executed on a host computer system. During the translation process, a database of translated foreign code is populated and thereafter a software layer checks for correspondence between the foreign code and binary code stored in the database. If the database contains corresponding code, that code is transferred to system memory for execution and there is no need to retranslate the foreign code. Minimizing the time spent translating the foreign code results in improved execution speed on the host computer system. The software layer creates an index into the database by hashing the foreign code or by using the storage location of the foreign code. By way of example, the sector of a disk drive where the foreign code is stored determines the index into the database.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 65.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for improving execution performance of foreign binary code on a native computer system, the method comprising: managing an association between the foreign binary code and a translated code, wherein the translated code is stored in either a volatile memory or a non-volatile memory, identifying a portion of the translated code that is associated with a corresponding portion of the foreign binary code from either the volatile memory or the non-volatile memory; if the identified portion of the translated code is stored in the non-volatile memory, transferring the identified portion of the
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 65 total)
References Cited — Backward Prior Art (18)
Non-Patent Literature (5)
- Diefendorff, Keith, "The Russians are Coming-Supercomputer Maker Elbrus Seeks to Join x 86/1A-64 Melee," Microprocessor Report, Feb. 15, 1999, vol. 13, No. 2, pp. 1-7.
- Diefendorff, Keith, “The Russians are Coming—Supercomputer Maker Elbrus Seeks to Join x 86/1A-64 Melee,” Microprocessor Report, Feb. 15, 1999, vol. 13, No. 2, pp. 1-7.
- Dobberpuhl, Daniel, et al., "Design of EV-4," Communications of the ACM, Feb. 1993, vol. 36, No. 2, p. 82. (one-page-stapled to back of Cite AD above).
- Dobberpuhl, Daniel, et al., “Design of EV-4,” Communications of the ACM, Feb. 1993, vol. 36, No. 2, p. 82. (one-page—stapled to back of Cite AD above).
- Rivest, Ronald L., "The MD5 Message-Digest Algorithm," Memo, Network Working Group, MIT Laboratory for Computer Science and RSA Data Security, Inc., Apr. 1992, 21 pages.