User:Realazthat/Projects wishlist/LLVM/Arbitrary integer reduction

From Rosetta Code
Revision as of 01:34, 18 October 2010 by rosettacode>Realazthat (Created page with "A pass that will reduce arbitrary integer math to a predefined set of allowed integers. So for example, it would reduce an i19 to an i32 or three i8's with some addition logic to...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A pass that will reduce arbitrary integer math to a predefined set of allowed integers. So for example, it would reduce an i19 to an i32 or three i8's with some addition logic to achieve functional equivalence.

Should be a matter of using and linking an arbitrary precision integer library that allows fixed bit-width integers to be emulated.