shz_sq_memcpy32_1_xmtrx
SHZ_INLINE void* shz_sq_memcpy32_1_xmtrx( void* SHZ_RESTRICT dst, const void* SHZ_RESTRICT src) SHZ_NOEXCEPT;Copies src to dst in a single 32-byte transaction using the Store Queues and XMTRX.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
dst | void *SHZ_RESTRICT | |
src | const void *SHZ_RESTRICT |
Returns
Section titled “Returns”void *
Details
Section titled “Details”Equivalent to shz_sq_memcpy32_1(), except copying is done through XMTRX.
Warnings
Section titled “Warnings”- This routine clobberx XMTRX.
Naming and requirements
Section titled “Naming and requirements”_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)
Availability
Section titled “Availability”- C++ equivalent:
shz::sq_memcpy32_1_xmtrx - Type-generic form: none
- Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_mem.h:355 - Module: Memory, section "Constant-sized Operations"