<div dir="ltr">The idea is that the builtins are wrapped by portable intrinsics (e.g. _mm_* on x86) and therefore those should be used as an interface in programming. If there's no suitable intrinsic then we'll expose the builtin.<br><div><br></div><div>-eric</div></div><br><div class="gmail_quote">On Fri Feb 06 2015 at 6:34:35 PM reed kotler <<a href="mailto:rkotler@mips.com">rkotler@mips.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Why is that many of the gcc builtins are not mapped to the llvm ir<br>
builtins, in cases<br>
where there is a corresponding llvm ir builtin/intrinsic.<br>
<br>
For example, sin, cos, log, log2, exp, exp2.....??<br>
<br>
Of the normal math functions is seems that just pow and fabs are there.<br>
<br>
Reed<br>
______________________________<u></u>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-dev</a><br>
</blockquote></div>