historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/roms/openbios/libgcc/__umoddi3.c

14 lines
176 B
C
Raw Normal View History

2024-01-16 11:20:27 -06:00
/*
* 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;
}