1 //===-- aeabi_ldivmod.S - EABI ldivmod implementation ---------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "../assembly.h"
12 // struct { int64_t quot, int64_t rem}
13 // __aeabi_ldivmod(int64_t numerator, int64_t denominator) {
15 // quot = __divmoddi4(numerator, denominator, &rem);
16 // return {quot, rem};
21 DEFINE_COMPILERRT_FUNCTION(__aeabi_ldivmod)
26 bl SYMBOL_NAME(__divmoddi4)