strncmp_64.S (e5451c8f8330e03ad3cfa16048b4daf961af434f) strncmp_64.S (d3867f0483103b8ff7edfdea3ef1981c03d96891)
1/*
2 * Sparc64 optimized strncmp code.
3 *
4 * Copyright (C) 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
5 */
6
7#include <linux/linkage.h>
8#include <asm/asi.h>
1/*
2 * Sparc64 optimized strncmp code.
3 *
4 * Copyright (C) 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
5 */
6
7#include <linux/linkage.h>
8#include <asm/asi.h>
9#include <asm/export.h>
9
10 .text
11ENTRY(strncmp)
12 brlez,pn %o2, 3f
13 lduba [%o0] (ASI_PNF), %o3
141:
15 add %o0, 1, %o0
16 ldub [%o1], %o4

--- 6 unchanged lines hidden (view full) ---

23 ldub [%o0], %o3
242:
25 retl
26 sub %o3, %o4, %o0
273:
28 retl
29 clr %o0
30ENDPROC(strncmp)
10
11 .text
12ENTRY(strncmp)
13 brlez,pn %o2, 3f
14 lduba [%o0] (ASI_PNF), %o3
151:
16 add %o0, 1, %o0
17 ldub [%o1], %o4

--- 6 unchanged lines hidden (view full) ---

24 ldub [%o0], %o3
252:
26 retl
27 sub %o3, %o4, %o0
283:
29 retl
30 clr %o0
31ENDPROC(strncmp)
32EXPORT_SYMBOL(strncmp)