Commit da216484 authored by Andrew Waterman's avatar Andrew Waterman
Browse files

Set 16..4096-byte bound on cache-block size

16 B suffices to subsume all aligned accesses (including the Q extension).
Spike does not actually rely on this property, but in some real systems,
it is impractical to guarantee atomicity across cache lines.

4096 B suffices to prevent cache lines from spanning pages (which would
require multiple TLB accesses).  This one is a bug fix, since we were
not performing multiple TLB accesses in this case.
parent e8340aed
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment