Skip to content

shz_sq_memcpy32_xmtrx

Markdown
SHZ_INLINE void* shz_sq_memcpy32_xmtrx( void* SHZ_RESTRICT dst, const void* SHZ_RESTRICT src, size_t bytes) SHZ_NOEXCEPT;

Copies bytes from src to dst in 32-byte chunks, using the Store Queues and XMTRX.

NameTypeDescription
dstvoid *SHZ_RESTRICT
srcconst void *SHZ_RESTRICT
bytessize_t

void *

Equiavalent to shz_sq_memcpy32(), except copying is done through XMTRX.

  • This routine clobbers XMTRX.
  • _xmtrx: Uses the XMTRX register bank as a 64-byte scratch buffer. Clobbers XMTRX. (Naming and Suffixes)
  • sq_: Writes through the SH4 store queues (burst writes to memory or the PVR). (Naming and Suffixes)