summaryrefslogtreecommitdiff
path: root/libc/string/x86_64/strlen.S
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-04-15 08:23:19 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-04-15 08:23:19 +0000
commit534dfb536f19737f2642ee56dd67a97c5db6a74e (patch)
treefaf1e08295d084cb44c8986fa179d306d6f0a377 /libc/string/x86_64/strlen.S
parent07bbf922670cce83c0b54f28ad43473d044cae5e (diff)
amd64 string ops: replace some instructions by smaller ones,
e.g. testb $0xff, %cl -> testb %cl, %cl
Diffstat (limited to 'libc/string/x86_64/strlen.S')
-rw-r--r--libc/string/x86_64/strlen.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/x86_64/strlen.S b/libc/string/x86_64/strlen.S
index e79537f87..3b6f2ac86 100644
--- a/libc/string/x86_64/strlen.S
+++ b/libc/string/x86_64/strlen.S
@@ -98,7 +98,7 @@ ENTRY (strlen)
the addition will not result in 0. */
jz 4b /* no NUL found => continue loop */
- .p2align 4 /* Align, it's a jump target. */
+ .p2align 4 /* Align, it is a jump target. */
3: subq $8,%rax /* correct pointer increment. */
testb %cl, %cl /* is first byte NUL? */