diff options
Diffstat (limited to 'qemu/roms/openbios/libgcc/__umodti3.c')
-rw-r--r-- | qemu/roms/openbios/libgcc/__umodti3.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/qemu/roms/openbios/libgcc/__umodti3.c b/qemu/roms/openbios/libgcc/__umodti3.c new file mode 100644 index 000000000..196c7bf7e --- /dev/null +++ b/qemu/roms/openbios/libgcc/__umodti3.c @@ -0,0 +1,13 @@ +/* + * 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; +} |