Sciweavers

CASES
2004
ACM

Procedure placement using temporal-ordering information: dealing with code size expansion

13 years 10 months ago
Procedure placement using temporal-ordering information: dealing with code size expansion
Abstract— In a direct-mapped instruction cache, all instructions that have the same memory address modulo the cache size, share a common and unique cache slot. Instruction cache conflicts can be partially handled at linked time by procedure placement. Pettis and Hansen give in [1] an algorithm that reorders procedures in memory by aggregating them in a greedy fashion. The Gloy and Smith algorithm [2] greatly decreases the number of conflict-misses but increases the code size by allowing gaps between procedures. The latter contains two main stages: the cache-placement phase assigns modulo addresses to minimizes cache-conflicts; the memory-placement phase assigns final memory addresses under the modulo placement constraints, and minimizes the code size expansion. In this paper: (1) we prove the NP-completeness of the cache-placement problem; (2) we provide an optimal algorithm to the memory-placement problem with complexity O(n min(n, L)α(n)) (n is the number of procedures, L the ...
Christophe Guillon, Fabrice Rastello, Thierry Bida
Added 30 Jun 2010
Updated 30 Jun 2010
Type Conference
Year 2004
Where CASES
Authors Christophe Guillon, Fabrice Rastello, Thierry Bidault, Florent Bouchez
Comments (0)