Method and apparatus for using an assist processor to prefetch instructions for a primary processor
Abstract
One embodiment of the present invention provides a system that prefetches instructions by using an assist processor to perform prefetch operations in advance of a primary processor. The system operates by executing executable code on the primary processor, and simultaneously executing a reduced version of the executable code on the assist processor. This reduced version of the executable code executes more quickly than the executable code, and performs prefetch operations for the primary processor in advance of when the primary processor requires the instructions. The system also stores the prefetched instructions into a cache that is accessible by the primary processor so that the primary processor is able to access the prefetched instructions without having to retrieve the prefetched instructions from a main memory. In one embodiment of the present invention, prior to executing the executable code, the system compiles source code into executable code for the primary processor. Next, the system profiles the executable code to create instruction traces for frequently referenced portions of the executable code. The system then produces the reduced version of the executable code for
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 13.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for prefetching instructions by using an assist processor to perform prefetch operations in advance of a primary processor, comprising: executing executable code on the primary processor; simultaneously executing a reduced version of the executable code on the assist processor, wherein the reduced version of the executable code executes more quickly than the executable code, and performs prefetch operations for the primary processor in advance of when the primary processor requires the instructions; and storing the prefetched instructions into a cache that is accessible by the primary
- Claim 2Depends on #1
The method of claim 1 , further comprising, prior
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (13 of 13 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (2)
- IBM Technical Disclosure Bulletin entitled "Storage Hierarchy Control System," by E. Sakalay, XP 002002415, vol. 15, No. 4, Sep. 1972.
- Publication entitled "Code Generation for Streaming: an Access/Execute Mechanism," by Manuel E. Benitez et al., XP 00203256, 8345 Computer Architecture News, Apr. 19, 1991, No. 2, New York, pp. 132-141.