Skip to content

shz_memcpy8

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

Copies a from one 8-byte aligned buffer to another 8 bytes at a time.

NameTypeDescription
dstvoid *SHZ_RESTRICT
srcconst void *SHZ_RESTRICT
bytessize_t

void *

The dst buffer is returned.

  • dst and src must both be aligned by at least 8 bytes, and bytes must be a multiple of 8.
  • src and dst should not overlap.
  • C++ equivalent: shz::memcpy8
  • Type-generic form: none
  • Back-ends: SH4: dedicated SH4 implementation · SW: portable C · SPU: shared C implementation
  • Defined in: sh4zam/shz_mem.h:159
  • Module: Memory, section "Specializations"