Re: [RHEL5 PATCH 1/4] Provide fallback full 64-bit divide/modulus ops for gcc

From: Andi Kleen
Date: Tue Aug 15 2006 - 04:08:11 EST

David Howells <dhowells@xxxxxxxxxx> writes:

> Provide simple, reasonably quick full 64-bit divide and modulus ops for gcc to
> call behind the scenes as:
> __udivmoddi4
> __udivdi3
> __umoddi3

At least Linus' traditional argument against this is that it's better
to open code these (do_div) so that it's clear to the coder that they
are really costly.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at