| 179 | } |
| 180 | |
| 181 | void writebackCache() |
| 182 | { |
| 183 | for (int i = 0; i < 64; i++) |
| 184 | { |
| 185 | for (int j = 0; j < 2; j++) |
| 186 | { |
| 187 | cache.lineAt(i, j).writeBackIfNeeded(); |
| 188 | } |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | static bool findInCache(const CacheSet& set, uptr ppf, int* way) |
| 193 | { |
no test coverage detected