Displaying 2 results from an estimated 2 matches for "i1942652".
2008 Sep 05
3
[LLVMdev] Integer questions
...t best knows how to compile
something for speed on the target system other then the compiler
itself)?
In just a quick guess, I would say that specifying an integer bit size
too large for the machine would cause a compile error, but the docs do
not hint at that (especially with the given example of: i1942652 a
really big integer of over 1 million bits), is this correct?
Third, assuming either or both of the above things had to be
enforced/implemented by the language designer, what would be the best
way for the language to ask LLVM what the appropriate machine integer
sizes are, so that if an i64 is sp...
2008 Sep 05
0
[LLVMdev] Integer questions
...rk fine in the bitcode, but if you try
to do code generation the compiler will crash.
> In just a quick guess, I would say that specifying an integer bit size
> too large for the machine would cause a compile error, but the docs do
> not hint at that (especially with the given example of: i1942652 a
> really big integer of over 1 million bits), is this correct?
No, you can use i256 on a 32 bit machine for example.
> Third, assuming either or both of the above things had to be
> enforced/implemented by the language designer, what would be the best
> way for the language to ask...