Modulus by constant

Zack Weinberg zack@codesourcery.com
Sun Apr 18 02:01:00 GMT 2004


kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:

> Does anybody understand the code that Torbjorn wrote to do divides
> and modulus operations as multiplies?

He wrote a paper about it:  "Division by Invariant Integers using
Multiplication", Proc. SIGPLAN PLDI, 1994.

zw



More information about the Gcc mailing list