File:  [DVB] / dietlibc / parisc / strncmp.S
Revision 1.1: download - view: text, annotated - select for diffs
Thu Sep 4 01:50:50 2003 UTC (20 years, 9 months ago) by leitner
Branches: MAIN
CVS tags: HEAD
add parisc and sparc assembly functions (Thomas Ogrisegg)

.LEVEL	1.1

.text
.globl strncmp

strncmp:
	.PROC
	.CALLINFO
	.ENTRY
	ldb,ma 1(%r26), %r19
	ldb,ma 1(%r25), %r20
	addibt,= -1, %r24, .Lexit
	cmpb,=,n %r19, %r0,  .Lexit
	cmpb,=,n %r19, %r20, strncmp
	nop
.Lexit:
	bv %r0(%rp)
	sub %r19, %r20, %ret0
	.EXIT
	.PROCEND
	.EXPORT strncmp

LinuxTV legacy CVS <linuxtv.org/cvs>