[LLVMdev] Best way for JIT to query whether llvm.fma.* is fast?

Robison, Arch arch.robison at intel.com
Wed Dec 10 12:48:01 PST 2014


For the Julia language JIT, we'd like be able to tell whether the llvm.fma.* intrinsic has hardware support.  What's the best way to  query LLVM (JIT) for this information?

The information would be used in situations where the user wants to use different algorithms depending on whether FMA hardware is present or not.

- Arch D. Robison

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141210/60216d28/attachment.html>


More information about the llvm-dev mailing list