2 * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com)
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
9 #include <linux/linkage.h>
14 brne r2, 0, @.Lcharloop
16 ;;; s1 and s2 are word aligned
24 ;; Detect NULL char in str1
29 brne.d.nt r4, 0, .LfoundNULL
30 ;; Check if the read locations are the same
35 ;; A match is found, spot it out
36 #ifdef __LITTLE_ENDIAN__
60 ;; make the return value
72 breq r2, r3, .Lcharloop