Methods and systems for nested stream prefetching for general purpose central processing units
Abstract
A method and hardware system to remove the overhead caused by having stream handling instructions in nested loops. Where code contains inner loops, nested in outer loops, a compiler pass identifies qualified nested streams and generates ISA specific instructions for transferring stream information linking an inner loop stream with an outer loop stream, to hardware components of a co-designed prefetcher. The hardware components include a frontend able to decode and execute instructions for a stream linking information transfer mechanism, a stream engine unit with a streams configuration table (SCT) having a field for allowing a subordinate stream to stay pending for values from its master stream, and a stream prefetch manager with buffers for storing values of current elements of a master stream, and with a nested streams control unit for reconfiguring and iterating the streams.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of prefetching data called by a stream in an inner loop, the inner loop nested in an outer loop of executable code, the method comprising: identifying, with a compiler analysis, stream linking information defining how the stream in the inner loop is linked to a stream in the outer loop; transferring the stream linking information from the executable code to hardware units of a prefetcher; and prefetching the data using the stream linking information and the hardware units of a prefetcher; wherein the compiler analysis comprises: identifying an inner stream candidate, being the stream
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 (13)
Non-Patent Literature (4)
- F. Schuiki, F. Zaruba, T. Hoefler and L. Benini, “Stream Semantic Registers: A Lightweight RISC-V ISA Extension Achieving Full Compute Utilization in Single-Issue Cores” in IEEE Transactions on Computers, vol. 70, No. 02, 16 pages, 2021.
- James E. Smith, Decoupled Access/Execute Computer Architectures, ACM Transactions on Computer Systems, ACM SIGARCH Computer Architecture News, vol. 10, Issue 3, Apr. 1982, pp. 112-119.
- T. J. Ham, J. L. Aragon and M. Martonosi, “DeSC: Decoupled supply-compute communication management for heterogeneous architectures,” 2015 48th Annual IEEE/ACM International Symposium on Microarchitecture (MICRO), Waikiki, HI, USA, 2015, 13 pages.
- Z. Wang and T. Nowalzki, “Stream-based Memory Access Specialization for General Purpose Processors,” in 2019 ACM/IEEE 46th Annual International Symposium on Computer Architecture (ISCA), Phoenix, AZ, USA, 2019 14 pages.