Memory architecture dependent program mapping
Abstract
In a computer implemented method, instructions of a program are mapped into a cache memory of a computer system. The cache memory is partitioned into a plurality fixed size lines for the convenience of accessing the instructions. Each block is assigned a different identification, for example a unique color. The program is partitioned into a plurality of instruction units, for example procedures or basic blocks. A flow graph is generated for the program. In the graph, nodes represent the instructions units, and edges directly connect nodes that have an execution relationship. Instruction units of directly connected nodes are mapped into blocks having different identifications or colors. An unavailable-set of identifications is maintained for each node. The unavailability-set of a particular node includes the identifications of blocks mapping instruction units directly connected to the particular node and which should not be used for the particular procedure in order to minimize cache conflicts during execution of the program.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 52.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer implemented method for mapping instructions of a program into a cache memory of a computer system, the cache memory being partitioned into a plurality of sections, at least two of said sections each having a respective plurality of blocks for accessing the instructions, comprising the steps of: assigning a respective identification to each block, each of said at least two sections having an identical number of said blocks, and corresponding blocks of said at least two sections having identical respective identifications; partitioning the program into a plurality of instruction uni
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 52 total)
References Cited — Backward Prior Art (4)
Non-Patent Literature (5)
- Hashemi, Amir H. And Kaeli, David R. and Calder, Brad; WRL Research Report 96/3, Oct. 1996; Efficient Procedure Mapping using Cache Line Coloring.
- Hwu, Wen mel W. And Chang, Pohua P.; Coordinated Science Laboratory, Unversity of Illinois, 1989; Achieving HIgh Instruction Cache Performance With An Optimizing Compiler; pp. 242 251.
- Hwu, Wen-mel W. And Chang, Pohua P.; Coordinated Science Laboratory, Unversity of Illinois, 1989; Achieving HIgh Instruction Cache Performance With An Optimizing Compiler; pp. 242-251.
- McFarling, Scott; Computer Systems Laboratory, Stanford University, 1989; Program Optimization for Instruction Caches, pp. 183 191.
- McFarling, Scott; Computer Systems Laboratory, Stanford University, 1989; Program Optimization for Instruction Caches, pp. 183-191.