1/* SPDX-License-Identifier: BSD-2-Clause */ 2/* 3 * Copyright (c) 2015, Linaro Limited 4 */ 5 6#include <asm.S> 7 8/* 9 * __value_in_regs lldiv_t __aeabi_ldivmod( long long n, long long d) 10 */ 11FUNC __aeabi_ldivmod , : 12 push {ip, lr} 13UNWIND( .save {ip, lr}) 14 push {r0-r3} 15UNWIND( .save {r0-r3}) 16 mov r0, sp 17 bl __l_divmod 18 pop {r0-r3} 19 pop {ip, pc} 20END_FUNC __aeabi_ldivmod 21 22/* 23 * __value_in_regs ulldiv_t __aeabi_uldivmod( 24 * unsigned long long n, unsigned long long d) 25 */ 26FUNC __aeabi_uldivmod , : 27 push {ip, lr} 28UNWIND( .save {ip, lr}) 29 push {r0-r3} 30UNWIND( .save {r0-r3}) 31 mov r0, sp 32 bl __ul_divmod 33 pop {r0-r3} 34 pop {ip, pc} 35END_FUNC __aeabi_uldivmod 36