Deleted Added
full compact
strcat.S (144872) strcat.S (184547)
1/*
2 * Written by J.T. Conklin <jtc@acorntoolworks.com>
3 * Public domain.
4 */
5
6#include <machine/asm.h>
1/*
2 * Written by J.T. Conklin <jtc@acorntoolworks.com>
3 * Public domain.
4 */
5
6#include <machine/asm.h>
7__FBSDID("$FreeBSD: head/lib/libc/amd64/string/strcat.S 144872 2005-04-10 18:58:49Z alc $");
7__FBSDID("$FreeBSD: head/lib/libc/amd64/string/strcat.S 184547 2008-11-02 01:10:54Z peter $");
8
9#if 0
10 RCSID("$NetBSD: strcat.S,v 1.4 2004/07/26 18:51:21 drochner Exp $")
11#endif
12
13ENTRY(strcat)
14 movq %rdi,%rax
15 movabsq $0x0101010101010101,%r8

--- 142 unchanged lines hidden (view full) ---

158 shrq $8,%rdx
159 movb %dl,(%rdi)
160 incq %rdi
161 testb %dl,%dl /* 8th byte == 0? */
162 jne .Lcopy_aligned
163
164.Ldone:
165 ret
8
9#if 0
10 RCSID("$NetBSD: strcat.S,v 1.4 2004/07/26 18:51:21 drochner Exp $")
11#endif
12
13ENTRY(strcat)
14 movq %rdi,%rax
15 movabsq $0x0101010101010101,%r8

--- 142 unchanged lines hidden (view full) ---

158 shrq $8,%rdx
159 movb %dl,(%rdi)
160 incq %rdi
161 testb %dl,%dl /* 8th byte == 0? */
162 jne .Lcopy_aligned
163
164.Ldone:
165 ret
166END(strcat)