Skip to content

shz_dcache_alloc_line

Markdown
SHZ_INLINE void shz_dcache_alloc_line(void* src) SHZ_NOEXCEPT;

Intrinsic around the SH4 MOVCA.L instruction.

NameTypeDescription
srcvoid *

Nothing (void).

Preallocates the cache-line containing src.

Zero-initializes all 32-bytes within the src cache-line, setting the valid bit to 1.

  • 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"