[LLVMdev] Large integers as first-class values
Eli Friedman
eli.friedman at gmail.com
Sun Feb 28 13:19:14 PST 2010
On Sun, Feb 28, 2010 at 1:10 PM, Russell Wallace
<russell.wallace at gmail.com> wrote:
> On Sun, Feb 28, 2010 at 9:07 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
>> On Sun, Feb 28, 2010 at 1:02 PM, Russell Wallace
>> <russell.wallace at gmail.com> wrote:
>>> What's the largest integer such that something like 'return ((a * b) /
>>> c) >> d' works correctly on all major platforms?
>>
>> Twice the size of a pointer, i.e. 64 bits on 32-bit platforms and 128
>> bits on 64-bit platforms.
>
> Okay, thanks. Do I understand correctly that this is likely to
> continue to be the case, so language support for large integers will
> need to be implemented by other means?
Yes; there are no plans to change this.
-Eli
More information about the llvm-dev
mailing list