2 * $NetBSD: bcmp.S,v 1.1 2001/06/19 00:25:04 fvdl Exp $
3 * $FreeBSD: src/lib/libc/amd64/string/bcmp.S,v 1.3 2008/11/02 01:10:54 peter Exp $
6 #include <machine/asm.h>
9 cld /* set compare direction forward */
11 movq %rdx,%rcx /* compare by words */
17 movq %rdx,%rcx /* compare remainder by bytes */