summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Library/CompilerIntrinsicsLib/Arm/udivdi3.S
blob: 505ae545f10a9c55a647444bca05b87aa04833c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#------------------------------------------------------------------------------
#
# Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
#------------------------------------------------------------------------------

#include <AsmMacroIoLib.h>

ASM_FUNC(__udivdi3)
  stmfd  sp!, {r7, lr}
  add  r7, sp, #0
  sub  sp, sp, #8
  mov  ip, #0
  str  ip, [sp, #0]
  bl  ASM_PFX(__udivmoddi4)
  sub  sp, r7, #0
  ldmfd  sp!, {r7, pc}