2 * Written by J.T. Conklin <jtc@NetBSD.org>.
6 #include <machine/asm.h>
9 RCSID("$NetBSD: strncmp.S,v 1.15 2014/05/23 02:34:19 uebayasi 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 */