1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com)
6 #include <linux/linkage.h>
11 brne r2, 0, @.Lcharloop
13 ;;; s1 and s2 are word aligned
21 ;; Detect NULL char in str1
26 brne.d.nt r4, 0, .LfoundNULL
27 ;; Check if the read locations are the same
32 ;; A match is found, spot it out
33 #ifdef __LITTLE_ENDIAN__
57 ;; make the return value
69 breq r2, r3, .Lcharloop