summaryrefslogtreecommitdiff
path: root/gpxe/src/libgcc/__umoddi3.c
blob: fb4da991c18498829888101ef91cfea8ac6c07d2 (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;
}