summaryrefslogtreecommitdiffstats
path: root/qemu/roms/openbios/libgcc/__umoddi3.c
blob: 1c7b1cd72eeb8f68c78df6ffc9d4b11a4385afa4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * arch/i386/libgcc/__umoddi3.c
 */

#include "libgcc.h"

uint64_t __umoddi3(uint64_t num, uint64_t den)
{
  uint64_t v;

  (void) __udivmoddi4(num, den, &v);
  return v;
}