2014-08-19 15:29:52 +02:00
|
|
|
#------------------------------------------------------------------------------
|
2013-01-25 12:28:06 +01:00
|
|
|
#
|
|
|
|
# Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
|
|
|
#
|
2019-04-04 01:03:18 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2013-01-25 12:28:06 +01:00
|
|
|
#
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
2016-08-10 14:38:08 +02:00
|
|
|
#include <AsmMacroIoLib.h>
|
2014-08-19 15:29:52 +02:00
|
|
|
|
2016-08-10 14:38:08 +02:00
|
|
|
ASM_FUNC(__umoddi3)
|
2013-01-25 12:28:06 +01:00
|
|
|
stmfd sp!, {r7, lr}
|
|
|
|
add r7, sp, #0
|
|
|
|
sub sp, sp, #16
|
|
|
|
add ip, sp, #8
|
|
|
|
str ip, [sp, #0]
|
|
|
|
bl ASM_PFX(__udivmoddi4)
|
|
|
|
ldrd r0, [sp, #8]
|
|
|
|
sub sp, r7, #0
|
|
|
|
ldmfd sp!, {r7, pc}
|
|
|
|
|