[llvm-dev] arbitrary bit number
Tim Northover via llvm-dev
llvm-dev at lists.llvm.org
Fri Jul 28 09:21:28 PDT 2017
On 28 July 2017 at 08:08, Anastasiya Ruzhanskaya via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> thank you for the answer, great that this is possible, I will try to come up
> with some solution.
Also, don't expect it to work for large widths. We make some effort to
expand (say) an i128 add in terms of two 64-bit adds, but the code
very quickly becomes terrible; and division simply doesn't work above
If you want arbitrary precision arithmetic you should be looking for a
library to do it properly.
More information about the llvm-dev