shz_dcache_alloc_line
SHZ_INLINE void shz_dcache_alloc_line(void* src) SHZ_NOEXCEPT;Intrinsic around the SH4 MOVCA.L instruction.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
src | void * |
Returns
Section titled “Returns”Nothing (void).
Details
Section titled “Details”Preallocates the cache-line containing src.
Zero-initializes all 32-bytes within the src cache-line, setting the valid bit to 1.
Availability
Section titled “Availability”- C++ equivalent:
shz::dcache_alloc_line - Type-generic form: none
- Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_mem.h:365 - Module: Memory, section "Constant-sized Operations"