Hi all I\'m trying to divide by an unsigned constant using only shifts and adds/subtracts - I have no problem with this if it were multiplication, but I\'m a bit stumped by
i have developed a constant division generator that can easily give you optimized divisions by any constant. It follows the ideas from "Hacker's Delight".
The tool named "kdiv" is available at sourceforge: