diff options
Diffstat (limited to 'MdePkg/Library/CompilerIntrinsicsLib/Arm/udivdi3.S')
-rw-r--r-- | MdePkg/Library/CompilerIntrinsicsLib/Arm/udivdi3.S | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Arm/udivdi3.S b/MdePkg/Library/CompilerIntrinsicsLib/Arm/udivdi3.S new file mode 100644 index 0000000000..ccb6f6c6c0 --- /dev/null +++ b/MdePkg/Library/CompilerIntrinsicsLib/Arm/udivdi3.S @@ -0,0 +1,19 @@ +#------------------------------------------------------------------------------
+#
+# Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
+#
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
+#------------------------------------------------------------------------------
+
+#include <AsmMacroLib.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}
|