[LLVMdev] Mul & div support for wider-than-legal types

Paweł Bylica chfast at gmail.com
Fri Mar 20 02:06:24 PDT 2015


   1. Can mul and/or div support be added for big integer types like i256?
   2. What are the limits?
   3. If yes, how should it be done?

I have experience only with X86 target and know that mul i128 works and div
i128 is lowered to function call from compile-rt like library (what works
only if you link with such library). Can that support be extended?

- Paweł
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150320/2fa9a61c/attachment.html>

More information about the llvm-dev mailing list