Path: blob/master/libs/compiler-rt/lib/builtins/udivti3.c
4395 views
/* ===-- udivti3.c - Implement __udivti3 -----------------------------------===1*2* The LLVM Compiler Infrastructure3*4* This file is dual licensed under the MIT and the University of Illinois Open5* Source Licenses. See LICENSE.TXT for details.6*7* ===----------------------------------------------------------------------===8*9* This file implements __udivti3 for the compiler_rt library.10*11* ===----------------------------------------------------------------------===12*/1314#include "int_lib.h"1516#ifdef CRT_HAS_128BIT1718/* Returns: a / b */1920COMPILER_RT_ABI tu_int21__udivti3(tu_int a, tu_int b)22{23return __udivmodti4(a, b, 0);24}2526#endif /* CRT_HAS_128BIT */272829