PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
memcpy.c File Reference
#include <stdint.h>
#include <string.h>
#include <sys/cpuid.h>
Include dependency graph for memcpy.c:

Go to the source code of this file.

Functions

static void * memcpy_no_simd (void *_RESTRICT s1, const void *_RESTRICT s2, size_t n)
 
void * memcpy_sse2 (void *_RESTRICT s1, const void *_RESTRICT s2, size_t n)
 
void * memcpy (void *_RESTRICT s1, const void *_RESTRICT s2, size_t n)
 

Variables

static void *(* memcpy_impl )(void *_RESTRICT, const void *_RESTRICT, size_t) = NULL
 

Function Documentation

◆ memcpy_no_simd()

static void * memcpy_no_simd ( void *_RESTRICT  s1,
const void *_RESTRICT  s2,
size_t  n 
)
static

Definition at line 5 of file memcpy.c.

Here is the caller graph for this function:

◆ memcpy_sse2()

void * memcpy_sse2 ( void *_RESTRICT  s1,
const void *_RESTRICT  s2,
size_t  n 
)
extern
Here is the caller graph for this function:

◆ memcpy()

void * memcpy ( void *_RESTRICT  s1,
const void *_RESTRICT  s2,
size_t  n 
)

Definition at line 61 of file memcpy.c.

Here is the call graph for this function:

Variable Documentation

◆ memcpy_impl

void *(* memcpy_impl) (void *_RESTRICT, const void *_RESTRICT, size_t) ( void *  _RESTRICT,
const void *  _RESTRICT,
size_t   
) = NULL
static

Definition at line 59 of file memcpy.c.