Skip to content

Instantly share code, notes, and snippets.

View GeorgyFirsov's full-sized avatar
🏡
Working from home (actually I don't)

Georgy Firsov GeorgyFirsov

🏡
Working from home (actually I don't)
View GitHub Profile
#ifdef __SSE__
#include <emmintrin.h>
static void __memset(void *ptr, int c, size_t len)
{
int i;
register char *p = (char *) ptr;
for (i = 0; i < len; i++) {
p[i] = c;
}