ucmpdi2.S (712cba5d87a6c0e980ee5fad45734e189c4d7151) ucmpdi2.S (8478132a8784605fe07ede555f7277d989368d73)
1/*
2 * linux/arch/arm/lib/ucmpdi2.S
3 *
4 * Author: Nicolas Pitre
5 * Created: Oct 19, 2005
6 * Copyright: Monta Vista Software, Inc.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */
12
13#include <linux/linkage.h>
14#include <asm/assembler.h>
1/*
2 * linux/arch/arm/lib/ucmpdi2.S
3 *
4 * Author: Nicolas Pitre
5 * Created: Oct 19, 2005
6 * Copyright: Monta Vista Software, Inc.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */
12
13#include <linux/linkage.h>
14#include <asm/assembler.h>
15#include <asm/export.h>
16
17#ifdef __ARMEB__
18#define xh r0
19#define xl r1
20#define yh r2
21#define yl r3
22#else
23#define xl r0

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

31 cmp xh, yh
32 cmpeq xl, yl
33 movlo r0, #0
34 moveq r0, #1
35 movhi r0, #2
36 ret lr
37
38ENDPROC(__ucmpdi2)
15
16#ifdef __ARMEB__
17#define xh r0
18#define xl r1
19#define yh r2
20#define yl r3
21#else
22#define xl r0

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

30 cmp xh, yh
31 cmpeq xl, yl
32 movlo r0, #0
33 moveq r0, #1
34 movhi r0, #2
35 ret lr
36
37ENDPROC(__ucmpdi2)
39EXPORT_SYMBOL(__ucmpdi2)
40
41#ifdef CONFIG_AEABI
42
43ENTRY(__aeabi_ulcmp)
44
45 cmp xh, yh
46 cmpeq xl, yl
47 movlo r0, #-1
48 moveq r0, #0
49 movhi r0, #1
50 ret lr
51
52ENDPROC(__aeabi_ulcmp)
38
39#ifdef CONFIG_AEABI
40
41ENTRY(__aeabi_ulcmp)
42
43 cmp xh, yh
44 cmpeq xl, yl
45 movlo r0, #-1
46 moveq r0, #0
47 movhi r0, #1
48 ret lr
49
50ENDPROC(__aeabi_ulcmp)
53EXPORT_SYMBOL(__aeabi_ulcmp)
54
55#endif
56
51
52#endif
53