aboutsummaryrefslogtreecommitdiff
path: root/riscv/cachesim.h
AgeCommit message (Collapse)AuthorFilesLines
2018-09-24Add "--log-cache-miss" option to generate a log of cache miss. (#241)takeoverjp1-0/+6
* Add "--log-cache-miss" option to generate a log of cache miss. - This option must be used with "--ic" and/or "--dc" options to enable cache simulation. - This option is useful with "-l" option to understand which instruction has caused the cache miss. * Modify log format of cache miss to reduce log size.
2015-09-24Use enum instead of two bools to denote memory access typeAndrew Waterman1-8/+8
2014-09-27Avoid use of __int128_tAndrew Waterman1-1/+1
It is nonstandard, and GCC doesn't support it on 32-bit platforms. The resulting code for MULH[[S]U] is crappier, but that doesn't really matter, as these instructions are dynamically infrequent.
2013-03-25add BSD licenseAndrew Waterman1-0/+2
2013-03-25support compilation with gcc 4.7Andrew Waterman1-1/+1
2013-02-15fix D$ model not acknowledging storesAndrew Waterman1-1/+1
2013-02-15specialize fully-associative cachesAndrew Waterman1-21/+41
the dumb linear search of a set's tag array was far too slow
2013-02-13add I$/D$/L2$ simulatorsAndrew Waterman1-0/+102