12 lines
266 B
ArmAsm
12 lines
266 B
ArmAsm
|
/* $NetBSD: strnlen.S,v 1.3 2013/08/20 08:08:59 matt Exp $ */
|
||
|
|
||
|
#include <arm/cdefs.h> /* for _ARM_ARCH_T2 */
|
||
|
|
||
|
#define STRNLEN
|
||
|
|
||
|
#if defined(_STANDALONE) || (defined(__thumb__) && !defined(_ARM_ARCH_T2))
|
||
|
#include "strlen_naive.S"
|
||
|
#else
|
||
|
#include "strlen_arm.S"
|
||
|
#endif
|