Changes in uspace/lib/c/arch/arm32/src/eabi.S [63f8966:d11a181] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/arm32/src/eabi.S
r63f8966 rd11a181 1 1 # 2 # Copyright (c) 20 07 Pavel Jancik2 # Copyright (c) 2012 Martin Decky 3 3 # All rights reserved. 4 4 # … … 31 31 .global __aeabi_read_tp 32 32 33 .global __aeabi_idiv 34 .global __aeabi_uidiv 35 36 .global __aeabi_idivmod 37 .global __aeabi_uidivmod 38 39 .global __aeabi_ldivmod 40 .global __aeabi_uldivmod 41 33 42 __aeabi_read_tp: 34 43 mov r0, r9 35 44 mov pc, lr 45 46 __aeabi_idiv: 47 push {lr} 48 bl __divsi3 49 pop {lr} 50 mov pc, lr 51 52 __aeabi_uidiv: 53 push {lr} 54 bl __udivsi3 55 pop {lr} 56 mov pc, lr 57 58 __aeabi_idivmod: 59 push {lr} 60 sub sp, sp, #12 61 add r2, sp, #4 62 bl __udivmodsi3 63 ldr r1, [sp, #4] 64 add sp, sp, #12 65 pop {lr} 66 mov pc, lr 67 68 __aeabi_uidivmod: 69 push {lr} 70 sub sp, sp, #12 71 add r2, sp, #4 72 bl __udivmodsi3 73 ldr r1, [sp, #4] 74 add sp, sp, #12 75 pop {lr} 76 mov pc, lr 77 78 __aeabi_ldivmod: 79 push {lr} 80 sub sp, sp, #24 81 push {sp} 82 bl __divmoddi3 83 add sp, sp, #4 84 pop {r2, r3} 85 add sp, sp, #16 86 pop {lr} 87 mov pc, lr 88 89 __aeabi_uldivmod: 90 push {lr} 91 sub sp, sp, #24 92 push {sp} 93 bl __udivmoddi3 94 add sp, sp, #4 95 pop {r2, r3} 96 add sp, sp, #16 97 pop {lr} 98 mov pc, lr
Note:
See TracChangeset
for help on using the changeset viewer.