Richard Johnson wrote:
> Use inline asm. In Intel, you put the high long-word into edx, the low
> long-word into eax, and "div" either by an immediate or something in, say
> the ecx register. The result is a long-word in eax, with the remainder
> in edx.
>
> This results in an unsigned integer divide, which is what the __udivxxx
> means.
Actually __udivdi3 is a 64/64 -> 64 divide, while the "div" instruction
is 64/32 -> 32. Apples and pears.
-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/