summaryrefslogtreecommitdiff
path: root/sysdeps/i386/bits
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-30 08:51:50 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-30 08:51:50 +0000
commit99707e81536acb77accd31ca51bdd9ec4e9899c2 (patch)
tree79ce775e5b294ec73d7dfdc0ab8b85d26c484510 /sysdeps/i386/bits
parentc421d4b7436682c33fadc769525a9f425e50e64a (diff)
(strcmp): Use 8bit register in 8bit instruction.
Diffstat (limited to 'sysdeps/i386/bits')
-rw-r--r--sysdeps/i386/bits/string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/i386/bits/string.h b/sysdeps/i386/bits/string.h
index b727e2bc17..cf0285d847 100644
--- a/sysdeps/i386/bits/string.h
+++ b/sysdeps/i386/bits/string.h
@@ -1,5 +1,5 @@
/* Optimized, inlined string functions. i386 version.
- Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -470,7 +470,7 @@ strcmp (__const char *__s1, __const char *__s2)
"jmp 3f\n"
"2:\n\t"
"sbbl %%eax,%%eax\n\t"
- "orb $1,%%eax\n"
+ "orb $1,%%al\n"
"3:"
: "=a" (__res), "=&S" (__d0), "=&D" (__d1)
: "1" (__s1), "2" (__s2)