2 * Simplistic strlen() implementation for SHmedia.
4 * Copyright (C) 2003 Paul Mundt <lethal@linux-sh.org>
7 .section .text..SHmedia32,"ax"
16 * Note: We could easily deal with the NULL case here with a simple
17 * sanity check, though it seems that the behavior we want is to fault
18 * in the event that r2 == NULL, so we don't bother.
20 /* beqi r2, 0, tr4 */ ! Sanity check