aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/mppa_k1c/i64_udiv.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/mppa_k1c/i64_udiv.c')
-rw-r--r--runtime/mppa_k1c/i64_udiv.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/mppa_k1c/i64_udiv.c b/runtime/mppa_k1c/i64_udiv.c
index e69de29b..75f4bbf5 100644
--- a/runtime/mppa_k1c/i64_udiv.c
+++ b/runtime/mppa_k1c/i64_udiv.c
@@ -0,0 +1,6 @@
+extern unsigned long __udivdi3 (unsigned long a, unsigned long b);
+
+unsigned i32_udiv (unsigned a, unsigned b)
+{
+ return __udivdi3 (a, b);
+}