2 * Written by J.T. Conklin <jtc@NetBSD.org>.
6 #include <machine/asm.h>
9 RCSID("$NetBSD: strncmp.S,v 1.14 2005/08/03 22:59:50 rpaulo 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
24 jmp L2 /* Jump into the loop! */
30 L2: jz L4 /* strings are equal */
108 L3: movzbl (%eax),%eax /* unsigned comparison */