[cfe-dev] CGBuiltin.cpp?

Eric Christopher echristo at gmail.com
Sat Feb 7 21:29:42 PST 2015


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.

-eric

On Fri Feb 06 2015 at 6:34:35 PM reed kotler <rkotler at mips.com> wrote:

> Why is that many of the gcc builtins are not mapped to the llvm ir
> builtins, in cases
> where there is a corresponding llvm ir builtin/intrinsic.
>
> For example, sin, cos, log, log2, exp, exp2.....??
>
> Of the normal math functions is seems that just pow and fabs are there.
>
> Reed
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150208/739d7144/attachment.html>


More information about the cfe-dev mailing list