summaryrefslogtreecommitdiffstats
path: root/qemu/roms/openbios/libgcc/__udivti3.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/openbios/libgcc/__udivti3.c')
-rw-r--r--qemu/roms/openbios/libgcc/__udivti3.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/qemu/roms/openbios/libgcc/__udivti3.c b/qemu/roms/openbios/libgcc/__udivti3.c
new file mode 100644
index 000000000..6be015bb5
--- /dev/null
+++ b/qemu/roms/openbios/libgcc/__udivti3.c
@@ -0,0 +1,10 @@
+/*
+ * arch/i386/libgcc/__divdi3.c
+ */
+
+#include "libgcc.h"
+
+__uint128_t __udivti3(__uint128_t num, __uint128_t den)
+{
+ return __udivmodti4(num, den, NULL);
+}