Blame view

kernel/linux-rt-4.4.41/arch/cris/arch-v32/lib/strcmp.S 416 Bytes
5113f6f70   김현기   kernel add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  ; strcmp.S -- CRISv32 version.
  ; Copyright (C) 2008 AXIS Communications AB
  ; Written by Edgar E. Iglesias
  ;
  ; This source code is licensed under the GNU General Public License,
  ; Version 2.  See the file COPYING for more details.
  
  	.global	strcmp
  	.type	strcmp,@function
  strcmp:
  1:
  	move.b	[$r10+], $r12
  	seq	$r13
  	sub.b	[$r11+], $r12
  	or.b	$r12, $r13
  	beq	1b
  	nop
  
  	ret
  	movs.b	$r12, $r10
  	.size	strcmp, . - strcmp