shz_memcpy64
SHZ_INLINE void* shz_memcpy64( void* SHZ_RESTRICT dst, const void* SHZ_RESTRICT src, size_t bytes) SHZ_NOEXCEPT;Specialized memcpy() variant for copying multiples of 64-bytes.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
dst | void *SHZ_RESTRICT | |
src | const void *SHZ_RESTRICT | |
bytes | size_t |
Returns
Section titled “Returns”void *
Details
Section titled “Details”Copies a from an 8-byte aligned buffer to a 32-byte aligned buffer, 64 bytes at a time. Returns the dst address.
Warnings
Section titled “Warnings”srcanddstbuffers must not overlap.dstmust be 32-byte aligned, whilesrccan be only 8-byte aligned.bytesmust be a multiple of 64.
Availability
Section titled “Availability”- C++ equivalent:
shz::memcpy64 - Type-generic form: none
- Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_mem.h:238 - Module: Memory, section "Specializations"