| //===-- aeabi_uldivmod.S - EABI uldivmod implementation -------------------===// |
| // The LLVM Compiler Infrastructure |
| // This file is dual licensed under the MIT and the University of Illinois Open |
| // Source Licenses. See LICENSE.TXT for details. |
| //===----------------------------------------------------------------------===// |
| // struct { uint64_t quot, uint64_t rem} |
| // __aeabi_uldivmod(uint64_t numerator, uint64_t denominator) { |
| // quot = __udivmoddi4(numerator, denominator, &rem); |
| #define __aeabi_uldivmod __rt_udiv64 |
| DEFINE_COMPILERRT_FUNCTION(__aeabi_uldivmod) |
| bl SYMBOL_NAME(__udivmoddi4) |
| END_COMPILERRT_FUNCTION(__aeabi_uldivmod) |