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