2007-05-08 17:11:53 +02:00
|
|
|
/**
|
|
|
|
* =========================================================================
|
|
|
|
* File : ia32_memcpy.h
|
|
|
|
* Project : 0 A.D.
|
|
|
|
* Description : interface to highly optimized memcpy (written in asm)
|
|
|
|
* =========================================================================
|
|
|
|
*/
|
|
|
|
|
|
|
|
// license: GPL; see lib/license.txt
|
|
|
|
|
2007-04-25 20:19:35 +02:00
|
|
|
#ifndef INCLUDED_IA32_MEMCPY
|
|
|
|
#define INCLUDED_IA32_MEMCPY
|
|
|
|
|
2007-05-04 19:30:32 +02:00
|
|
|
#ifdef __cplusplus
|
2007-04-25 20:19:35 +02:00
|
|
|
extern "C" {
|
2007-05-04 19:30:32 +02:00
|
|
|
#endif
|
2007-04-25 20:19:35 +02:00
|
|
|
|
|
|
|
extern void ia32_memcpy_init();
|
|
|
|
|
|
|
|
extern void* ia32_memcpy(void* RESTRICT dst, const void* RESTRICT src, size_t nbytes);
|
|
|
|
|
2007-05-04 19:30:32 +02:00
|
|
|
#ifdef __cplusplus
|
2007-04-25 20:19:35 +02:00
|
|
|
}
|
2007-05-04 19:30:32 +02:00
|
|
|
#endif
|
2007-04-25 20:19:35 +02:00
|
|
|
|
|
|
|
#endif // #ifndef INCLUDED_IA32_MEMCPY
|