From 33263fc5f9ac8e8cb2b22d06af3ce5ac1dd815e4 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Fri, 4 Feb 2000 07:40:19 +0000 Subject: Merge with Linux 2.3.32. --- include/asm-i386/string-486.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'include/asm-i386/string-486.h') diff --git a/include/asm-i386/string-486.h b/include/asm-i386/string-486.h index 4c2531712..7c3ee1a1b 100644 --- a/include/asm-i386/string-486.h +++ b/include/asm-i386/string-486.h @@ -187,7 +187,6 @@ extern inline char * strrchr(const char * s, int c) int d0, d1; register char * __res; __asm__ __volatile__( - "cld\n\t" "movb %%al,%%ah\n" "1:\tlodsb\n\t" "cmpb %%ah,%%al\n\t" @@ -206,7 +205,6 @@ extern inline size_t strspn(const char * cs, const char * ct) int d0, d1; register char * __res; __asm__ __volatile__( - "cld\n\t" "movl %6,%%edi\n\t" "repne\n\t" "scasb\n\t" @@ -234,7 +232,6 @@ extern inline size_t strcspn(const char * cs, const char * ct) int d0, d1; register char * __res; __asm__ __volatile__( - "cld\n\t" "movl %6,%%edi\n\t" "repne\n\t" "scasb\n\t" @@ -263,7 +260,6 @@ extern inline char * strpbrk(const char * cs,const char * ct) int d0, d1; register char * __res; __asm__ __volatile__( - "cld\n\t" "movl %6,%%edi\n\t" "repne\n\t" "scasb\n\t" @@ -296,7 +292,6 @@ extern inline char * strstr(const char * cs,const char * ct) int d0, d1; register char * __res; __asm__ __volatile__( - "cld\n\t" \ "movl %6,%%edi\n\t" "repne\n\t" "scasb\n\t" @@ -378,7 +373,6 @@ __asm__ __volatile__( "1:\txorl %0,%0\n\t" "movl $-1,%%ecx\n\t" "xorl %%eax,%%eax\n\t" - "cld\n\t" "movl %4,%%edi\n\t" "repne\n\t" "scasb\n\t" @@ -474,7 +468,6 @@ extern inline void * __memcpy_g(void * to, const void * from, size_t n) int d0, d1, d2; register void *tmp = (void *)to; __asm__ __volatile__ ( - "cld\n\t" "shrl $1,%%ecx\n\t" "jnc 1f\n\t" "movsb\n" @@ -554,7 +547,6 @@ int d0, d1, d2; register void *tmp = (void *)dest; if (dest