1 #------------------------------------------------------------------------------
3 # Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
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
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.
13 #------------------------------------------------------------------------------
17 \s\sGCC_ASM_EXPORT(__udivsi3)
22 \s\sstmfd\s\ssp!, {r4, r5, r7, lr}
30 \s\sldmeqfd\s\ssp!, {r4, r5, r7, pc}
32 \s\srsb\s\sr3, r3, #31
34 \s\smov\s\sr2, r0, asl r3
35 \s\smov\s\sip, r0, lsr r5
39 \s\smov\s\sr0, r2, lsr #31
40 \s\sorr\s\sip, r0, ip, asl #1
44 \s\sand\s\sr0, r1, r3, asr #31
45 \s\smov\s\slr, r3, lsr #31
50 \s\smov\s\sr3, r2, asl #1
53 \s\sldmfd\s\ssp!, {r4, r5, r7, pc}
56 \s\sldmfd\s\ssp!, {r4, r5, r7, pc}