2 * Written by J.T. Conklin <jtc@acorntoolworks.com>
6 #include <machine/asm.h>
10 RCSID("$NetBSD: strcmp.S,v 1.3 2004/07/19 20:04:41 drochner Exp $")
15 * Align s1 to word boundary.
16 * Consider unrolling loop?
32 * Check whether s2 is aligned to a word boundry. If it is, we
33 * can compare by words. Otherwise we have to compare by bytes.
39 movabsq $0x0101010101010101,%r8
41 movabsq $0x8080808080808080,%r9