-#------------------------------------------------------------------------------ \r
+#------------------------------------------------------------------------------\r
#\r
# Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
#\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
#------------------------------------------------------------------------------\r
\r
- .text\r
- .align 2\r
- GCC_ASM_EXPORT(__udivmoddi4)\r
- \r
-ASM_PFX(__udivmoddi4):\r
+#include <AsmMacroIoLib.h>\r
+\r
+ .syntax unified\r
+\r
+ASM_FUNC(__udivmoddi4)\r
stmfd sp!, {r4, r5, r6, r7, lr}\r
add r7, sp, #12\r
stmfd sp!, {r10, r11}\r
L6:\r
cmp r6, #0\r
movne r1, #0\r
- stmneia r6, {r0-r1}\r
+ stmiane r6, {r0-r1}\r
b L2\r
L4:\r
ldr r1, [sp, #0]\r
cmp r6, #0\r
movne r4, r0\r
andne r5, ip, r3\r
- stmneia r6, {r4-r5}\r
+ stmiane r6, {r4-r5}\r
L24:\r
rsb r3, r2, #0\r
and r3, r2, r3\r
andne r3, r3, r0\r
movne r2, r3\r
movne r3, #0\r
- stmneia r6, {r2-r3}\r
+ stmiane r6, {r2-r3}\r
L34:\r
cmp r1, #1\r
beq L10\r
bls L37\r
L48:\r
cmp r6, #0\r
- stmneia r6, {r10-r11}\r
+ stmiane r6, {r10-r11}\r
b L2\r
L37:\r
rsb r1, r3, #31\r
cmp r6, #0\r
orr r10, r0, ip\r
mov r11, r1\r
- stmneia r6, {r4-r5}\r
+ stmiane r6, {r4-r5}\r
b L10\r
L2:\r
mov r10, #0\r