[LLVMdev] Large integers as first-class values
russell.wallace at gmail.com
Sun Feb 28 13:02:45 PST 2010
On Sun, Feb 28, 2010 at 8:58 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
> In terms of correctness, it should work except for the fact that the
> LLVM code generators don't implement more complicated operations on
> such integers, like multiplication, division, and variable-width
> shifts. The issues with returning large integers are fixed, at least
> on x86.
But not on other platforms?
What's the largest integer such that something like 'return ((a * b) /
c) >> d' works correctly on all major platforms?
More information about the llvm-dev