<div dir="ltr">Does TargetLowering::isFMAFasterThanFMulAndFAdd (<a href="http://llvm.org/docs/doxygen/html/TargetLowering_8h_source.html#l01499">http://llvm.org/docs/doxygen/html/TargetLowering_8h_source.html#l01499</a>) help? <br><div><br></div><div>Jingyue</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 10, 2014 at 12:48 PM, Robison, Arch <span dir="ltr"><<a href="mailto:arch.robison@intel.com" target="_blank">arch.robison@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<font face="Calibri"><span style="font-size:11pt">
<div>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?</div>
<div> </div>
<div>The information would be used in situations where the user wants to use different algorithms depending on whether FMA hardware is present or not.</div>
<div> </div>
<div>- Arch D. Robison </div>
<div> </div>
</span></font>
</div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>