x86: ASM fast memset()

This commit is contained in:
Balazs Gerofi
2017-07-03 10:12:46 +09:00
parent 201a7e2595
commit 2189c55d99
3 changed files with 26 additions and 0 deletions

View File

@ -36,6 +36,10 @@ void *memset(void *s, int n, size_t l);
#define fast_memcpy memcpy
#endif
#ifdef ARCH_FAST_MEMSET
#define memset __inline_memset
#endif
extern int snprintf(char * buf, size_t size, const char *fmt, ...);
extern int sprintf(char * buf, const char *fmt, ...);
extern int sscanf(const char * buf, const char * fmt, ...);