]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPkg/Library/CompilerIntrinsicsLib/Arm/sourcery.S
Update the copyright notice format
[mirror_edk2.git] / ArmPkg / Library / CompilerIntrinsicsLib / Arm / sourcery.S
1 #------s------------------------------------------------------------------------
2 #
3 # Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
4 #
5 # This program and the accompanying materials
6 # are licensed and made available under the terms and conditions of the BSD License
7 # which accompanies this distribution. The full text of the license may be found at
8 # http://opensource.org/licenses/bsd-license.php
9 #
10 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 #
13 #------------------------------------------------------------------------------
14
15
16 .text
17 .align 2
18 .globl ASM_PFX(__aeabi_ulcmp)
19 ASM_PFX(__aeabi_ulcmp):
20 stmfd sp!, {r4, r5, r8}
21 cmp r3, r1
22 mov r8, r0
23 mov r9, r1
24 mov r4, r2
25 mov r5, r3
26 bls L16
27 L2:
28 mvn r0, #0
29 L1:
30 ldmfd sp!, {r4, r5, r8}
31 bx lr
32 L16:
33 beq L17
34 L4:
35 cmp r9, r5
36 bhi L7
37 beq L18
38 cmp r8, r4
39 L14:
40 cmpeq r9, r5
41 moveq r0, #0
42 beq L1
43 b L1
44 L18:
45 cmp r8, r4
46 bls L14
47 L7:
48 mov r0, #1
49 b L1
50 L17:
51 cmp r2, r0
52 bhi L2
53 b L4
54