2 * Written by J.T. Conklin <jtc@acorntoolworks.com>
6 #include <machine/asm.h>
9 RCSID("$NetBSD: strcmp.S,v 1.1 2005/12/20 19:28:51 christos Exp $")
14 * Align s1 to word boundary.
15 * Consider unrolling loop?
31 * Check whether s2 is aligned to a word boundary. If it is, we
32 * can compare by words. Otherwise we have to compare by bytes.
38 movabsq $0x0101010101010101,%r8
40 movabsq $0x8080808080808080,%r9