summaryrefslogtreecommitdiff
path: root/gpxe/src/libgcc/__umoddi3.c
blob: f6c76cb634959c63feb0db6df1c489551870ed29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * arch/i386/libgcc/__umoddi3.c
 */

#include "libgcc.h"

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

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