1 //===-- aeabi_idivmod.S - EABI idivmod 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 { int quot, int rem} __aeabi_idivmod(int numerator, int denominator) {
14 // quot = __divmodsi4(numerator, denominator, &rem);
15 // return {quot, rem};
20 DEFINE_COMPILERRT_FUNCTION(__aeabi_idivmod)
24 bl SYMBOL_NAME(__divmodsi4)