File:  [DVB] / dietlibc / sparc / strlen.S
Revision 1.1: download - view: text, annotated - select for diffs
Fri Jul 26 18:44:33 2002 UTC (21 years, 10 months ago) by fefe
Branches: MAIN
CVS tags: finnland_test_200301, branch_rc14_fieldtest_finnland, branch_rc13_fieldtest_finnland, branch_rc12_fieldtest_finnland, branch_rc10_fieldtest_finnland, RELEASE_finnland_200301_1, RC12_FIELDTEST_FINNLAND, RC10_FIELDTEST_FINNLAND, HEAD
add sparc/strlen.S from Thomas Ogrisegg
add more space to ARM __jmp_buf in setjmp.h (Andre)

.text
.globl strlen
strlen:
    add  %o0, 1, %o1
.Lloop:
    ldsb [%o0], %o2
    orcc %o2, %o2, %g0
    bne  .Lloop
    add  %o0, 1, %o0
    retl
    sub  %o0, %o1, %o0

LinuxTV legacy CVS <linuxtv.org/cvs>