]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPkg/Library/CompilerIntrinsicsLib/Arm/umoddi3.S
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / ArmPkg / Library / CompilerIntrinsicsLib / Arm / umoddi3.S
1 #------------------------------------------------------------------------------
2 #
3 # Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
4 #
5 # SPDX-License-Identifier: BSD-2-Clause-Patent
6 #
7 #------------------------------------------------------------------------------
8
9 #include <AsmMacroIoLib.h>
10
11 ASM_FUNC(__umoddi3)
12 stmfd sp!, {r7, lr}
13 add r7, sp, #0
14 sub sp, sp, #16
15 add ip, sp, #8
16 str ip, [sp, #0]
17 bl ASM_PFX(__udivmoddi4)
18 ldrd r0, [sp, #8]
19 sub sp, r7, #0
20 ldmfd sp!, {r7, pc}
21