aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/lib/memcmp_32.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/lib/memcmp_32.S')
-rw-r--r--arch/sparc/lib/memcmp_32.S30
1 files changed, 0 insertions, 30 deletions
diff --git a/arch/sparc/lib/memcmp_32.S b/arch/sparc/lib/memcmp_32.S
deleted file mode 100644
index 9e21f0282659..000000000000
--- a/arch/sparc/lib/memcmp_32.S
+++ /dev/null
@@ -1,30 +0,0 @@
1 .text
2 .align 4
3 .global __memcmp, memcmp
4__memcmp:
5memcmp:
6 cmp %o2, 0
7 ble L3
8 mov 0, %g3
9L5:
10 ldub [%o0], %g2
11 ldub [%o1], %g3
12 sub %g2, %g3, %g2
13 mov %g2, %g3
14 sll %g2, 24, %g2
15
16 cmp %g2, 0
17 bne L3
18 add %o0, 1, %o0
19
20 add %o2, -1, %o2
21
22 cmp %o2, 0
23 bg L5
24 add %o1, 1, %o1
25L3:
26 sll %g3, 24, %o0
27 sra %o0, 24, %o0
28
29 retl
30 nop