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

14 lines
188 B
C
Raw Normal View History

2024-01-16 11:20:27 -06:00
/*
* arch/i386/libgcc/__umoddi3.c
*/
#include "libgcc.h"
__uint128_t __umodti3(__uint128_t num, __uint128_t den)
{
__uint128_t v;
(void) __udivmodti4(num, den, &v);
return v;
}