summaryrefslogtreecommitdiff
path: root/gnu/llvm/compiler-rt/lib/builtins/udivdi3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/llvm/compiler-rt/lib/builtins/udivdi3.c')
-rw-r--r--gnu/llvm/compiler-rt/lib/builtins/udivdi3.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/llvm/compiler-rt/lib/builtins/udivdi3.c b/gnu/llvm/compiler-rt/lib/builtins/udivdi3.c
index a23139ec947..74319cbe71c 100644
--- a/gnu/llvm/compiler-rt/lib/builtins/udivdi3.c
+++ b/gnu/llvm/compiler-rt/lib/builtins/udivdi3.c
@@ -12,8 +12,12 @@
#include "int_lib.h"
+typedef du_int fixuint_t;
+typedef di_int fixint_t;
+#include "int_div_impl.inc"
+
// Returns: a / b
COMPILER_RT_ABI du_int __udivdi3(du_int a, du_int b) {
- return __udivmoddi4(a, b, 0);
+ return __udivXi3(a, b);
}