This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:multiasm:papc:chapter_6_15 [2026/02/20 11:36] – ktokarz | en:multiasm:papc:chapter_6_15 [2026/02/20 11:49] (current) – [Cache temporal locality] ktokarz | ||
|---|---|---|---|
| Line 31: | Line 31: | ||
| * Object-oriented programming helps to utilise cache because members of the class are grouped. | * Object-oriented programming helps to utilise cache because members of the class are grouped. | ||
| ===== Cache temporal locality ===== | ===== Cache temporal locality ===== | ||
| - | | + | Cache temporal locality is the feature |
| - | In a situation where the data processed | + | |
| ===== Cache support instructions ===== | ===== Cache support instructions ===== | ||
| Line 42: | Line 41: | ||
| Fence instructions guarantee that the load and/or store instructions before the fence are completed before the corresponding instruction after the fence. | Fence instructions guarantee that the load and/or store instructions before the fence are completed before the corresponding instruction after the fence. | ||
| - | * **spence** force the memory–cache synchronisation after store instructions | + | * **sfence** force the memory–cache synchronisation after store instructions |
| * **lfence** force the memory–cache synchronisation after load instructions | * **lfence** force the memory–cache synchronisation after load instructions | ||
| * **mfence** force the memory–cache synchronisation after load and store instructions | * **mfence** force the memory–cache synchronisation after load and store instructions | ||