|
@@ -27,18 +27,6 @@ FILE_LICENCE ( PUBLIC_DOMAIN );
|
27
|
27
|
|
28
|
28
|
extern void * __memcpy ( void *dest, const void *src, size_t len );
|
29
|
29
|
|
30
|
|
-#if 0
|
31
|
|
-static inline __attribute__ (( always_inline )) void *
|
32
|
|
-__memcpy ( void *dest, const void *src, size_t len ) {
|
33
|
|
- int d0, d1, d2;
|
34
|
|
- __asm__ __volatile__ ( "rep ; movsb"
|
35
|
|
- : "=&c" ( d0 ), "=&S" ( d1 ), "=&D" ( d2 )
|
36
|
|
- : "0" ( len ), "1" ( src ), "2" ( dest )
|
37
|
|
- : "memory" );
|
38
|
|
- return dest;
|
39
|
|
-}
|
40
|
|
-#endif
|
41
|
|
-
|
42
|
30
|
static inline __attribute__ (( always_inline )) void *
|
43
|
31
|
__constant_memcpy ( void *dest, const void *src, size_t len ) {
|
44
|
32
|
union {
|