2 * Written by J.T. Conklin <jtc@NetBSD.org>.
6 #include <machine/asm.h>
9 RCSID("$NetBSD: strncmp.S,v 1.4 2014/05/22 15:01:57 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
20 jmp L2 /* Jump into the loop! */
25 L2: jz L4 /* strings are equal */
102 L3: movzbl (%rdi),%eax /* unsigned comparison */