shz_memcpy4
SHZ_INLINE void* shz_memcpy4( void* SHZ_RESTRICT dst, const void* SHZ_RESTRICT src, size_t bytes) SHZ_NOEXCEPT;Copies a from one 4-byte aligned buffer to another 4 bytes at a time.
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”The dst buffer is returned.
Warnings
Section titled “Warnings”dstandsrcmust both be aligned by at least 4 bytes, andbytesmust be a multiple of 4.dstandsrcbuffers should not be overlapping.
Availability
Section titled “Availability”- C++ equivalent:
shz::memcpy4 - Type-generic form: none
- Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
- Defined in:
sh4zam/shz_mem.h:144 - Module: Memory, section "Specializations"