base_set_assoc.cc (13217:725b1701b4ee) | base_set_assoc.cc (13218:5e7df60c6cab) |
---|---|
1/* 2 * Copyright (c) 2012-2014 ARM Limited 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 90 unchanged lines hidden (view full) --- 99 100 // Associate a replacement data entry to the block 101 blk->replacementData = replacementPolicy->instantiateEntry(); 102 103 // Setting the tag to j is just to prevent long chains in the 104 // hash table; won't matter because the block is invalid 105 blk->tag = j; 106 | 1/* 2 * Copyright (c) 2012-2014 ARM Limited 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 90 unchanged lines hidden (view full) --- 99 100 // Associate a replacement data entry to the block 101 blk->replacementData = replacementPolicy->instantiateEntry(); 102 103 // Setting the tag to j is just to prevent long chains in the 104 // hash table; won't matter because the block is invalid 105 blk->tag = j; 106 |
107 // Set its set and way 108 blk->set = i; 109 blk->way = j; | 107 // Set its index 108 blk->setPosition(i, j); |
110 111 // Update block index 112 ++blkIndex; 113 } 114 } 115} 116 117void --- 22 unchanged lines hidden --- | 109 110 // Update block index 111 ++blkIndex; 112 } 113 } 114} 115 116void --- 22 unchanged lines hidden --- |