]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Correct assembler commands to fix warnings.
authorUlrich Drepper <drepper@redhat.com>
Fri, 1 Oct 1999 16:00:37 +0000 (16:00 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 1 Oct 1999 16:00:37 +0000 (16:00 +0000)
sysdeps/i386/lshift.S
sysdeps/i386/rshift.S
sysdeps/i386/strchr.S
sysdeps/i386/strchrnul.S

index c427ff02621304ac2adc99cedae3379f6ce65419..737ce3ed2bed24a0b4bc4dd52003dbf95ef80335 100644 (file)
@@ -1,5 +1,5 @@
 /* i80386 __mpn_lshift --
-   Copyright (C) 1992, 1994, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1992, 1994, 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU MP Library.
 
    The GNU MP Library is free software; you can redistribute it and/or modify
@@ -47,7 +47,7 @@ ENTRY(__mpn_lshift)
        decl    %edx
        jz      L(end)
        pushl   %eax                    /* push carry limb onto stack */
-       testb   $1,%edx
+       testb   $1,%dl
        jnz     L(1)                    /* enter loop in the middle */
        movl    %ebx,%eax
 
index af8c64777b5e1e14cb0e278865db8ab5ca8df5db..0bb7288d31eda4e8ee3c46fe69922ad416bab087 100644 (file)
@@ -1,5 +1,5 @@
 /* i80386 __mpn_rshift --
-   Copyright (C) 1992, 1994, 1997, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1992, 1994, 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU MP Library.
 
    The GNU MP Library is free software; you can redistribute it and/or modify
@@ -49,7 +49,7 @@ ENTRY(__mpn_rshift)
        incl    %edx
        jz      L(end)
        pushl   %eax                    /* push carry limb onto stack */
-       testb   $1,%edx
+       testb   $1,%dl
        jnz     L(1)                    /* enter loop in the middle */
        movl    %ebx,%eax
 
index 69c4b145af59a225c297aab4721d0fd968e70fee..582c3d737a51d0a0e509a96e0e5d67a0ac3e2d63 100644 (file)
@@ -1,6 +1,6 @@
 /* strchr (str, ch) -- Return pointer to first occurrence of CH in STR.
    For Intel 80x86, x>=3.
-   Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1994, 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>
    Some optimisations by Alan Modra <Alan@SPRI.Levels.UniSA.Edu.Au>
@@ -56,7 +56,7 @@ ENTRY (strchr)
              implementation (this is because all processor inherent
              boundaries are multiples of 4.  */
 
-       testb $3, %eax          /* correctly aligned ? */
+       testb $3, %al           /* correctly aligned ? */
        jz L(11)                /* yes => begin loop */
        movb (%eax), %cl        /* load byte in question (we need it twice) */
        cmpb %cl, %dl           /* compare byte */
@@ -65,7 +65,7 @@ ENTRY (strchr)
        jz L(2)                 /* yes => return NULL */
        incl %eax               /* increment pointer */
 
-       testb $3, %eax          /* correctly aligned ? */
+       testb $3, %al           /* correctly aligned ? */
        jz L(11)                /* yes => begin loop */
        movb (%eax), %cl        /* load byte in question (we need it twice) */
        cmpb %cl, %dl           /* compare byte */
@@ -74,7 +74,7 @@ ENTRY (strchr)
        jz L(2)                 /* yes => return NULL */
        incl %eax               /* increment pointer */
 
-       testb $3, %eax          /* correctly aligned ? */
+       testb $3, %al           /* correctly aligned ? */
        jz L(11)                /* yes => begin loop */
        movb (%eax), %cl        /* load byte in question (we need it twice) */
        cmpb %cl, %dl           /* compare byte */
index b99a439587d1e268f431b6306f7af2e73d2d594b..f42a69728c7daeea7ede882cb4bbb3eb04275375 100644 (file)
@@ -57,7 +57,7 @@ ENTRY (__strchrnul)
              implementation (this is because all processor inherent
              boundaries are multiples of 4.  */
 
-       testb $3, %eax          /* correctly aligned ? */
+       testb $3, %al           /* correctly aligned ? */
        jz L(11)                /* yes => begin loop */
        movb (%eax), %cl        /* load byte in question (we need it twice) */
        cmpb %cl, %dl           /* compare byte */
@@ -66,7 +66,7 @@ ENTRY (__strchrnul)
        jz L(6)                 /* yes => return NULL */
        incl %eax               /* increment pointer */
 
-       testb $3, %eax          /* correctly aligned ? */
+       testb $3, %al           /* correctly aligned ? */
        jz L(11)                /* yes => begin loop */
        movb (%eax), %cl        /* load byte in question (we need it twice) */
        cmpb %cl, %dl           /* compare byte */
@@ -75,7 +75,7 @@ ENTRY (__strchrnul)
        jz L(6)                 /* yes => return NULL */
        incl %eax               /* increment pointer */
 
-       testb $3, %eax          /* correctly aligned ? */
+       testb $3, %al           /* correctly aligned ? */
        jz L(11)                /* yes => begin loop */
        movb (%eax), %cl        /* load byte in question (we need it twice) */
        cmpb %cl, %dl           /* compare byte */