4 ms·
> pull memory into cache, send cache back to main memory I haven't had much of an issue with intrinsics. > Mark things in cache as not worth writing out to me
by monocasa 3y ago
> pull memory into cache, send cache back to main memory
I haven't had much of an issue with intrinsics.
> Mark things in cache as not worth writing out to memory
Can you give an example of this in a surviving architecture?
- oasisaimlessly 3y agoDoes ARM64 count? DC CIVAC: https://developer.arm.com/documentation/ddi0595/2021-12/AArch64-Instructions/DC-CIVAC--Data-or-unified-Cache-line-Clean-and-Invalidate-by-VA-to-PoC https://developer.arm.com/documentation/ddi0595/2021-12/AArc...
- monocasa 3y agoThat isn't really marking cache items as not being worth writing out to memory. It's a feature for communicating with non coherent devices to tell the cache that any lines it might have speculatively loaded might have changed out from under it. "Not being worth" reads like cache perf management, as opposed to uses of DC CIVAC, which are strict correctness issues.
- bjourne 3y agoIntrinsics are not part of C though. C is the abstract machine defined in various specs and its syntax and semantics.