2 * Written by J.T. Conklin <jtc@NetBSD.org>.
6 #include <machine/asm.h>
9 RCSID("$NetBSD: strncmp.S,v 1.2 2003/07/26 19:24:40 salo Exp $")
13 * NOTE: I've unrolled the loop eight times: large enough to make a
14 * significant difference, and small enough not to totally trash the
20 jmp L2 /* Jump into the loop! */
25 L2: jz L4 /* strings are equal */
102 L3: movzbl (%rdi),%eax /* unsigned comparison */