[cfe-commits] [PATCH] Add __builtin_readcyclecounter

Chandler Carruth chandlerc at google.com
Sun Aug 5 04:39:08 PDT 2012


Generally this looks fine... I'd like to have documentation somewhere for
builtins that Clang/LLVM are adding which don't exist in GCC. Is there a
convenient place in the Clang docs you can explain this intrinsic?


On Sat, Aug 4, 2012 at 8:28 PM, Hal Finkel <hfinkel at anl.gov> wrote:

> Hello,
>
> Please review this patch which adds a __builtin_readcyclecounter()
> intrinsic. LLVM provides i64 @llvm.readcyclecounter(), but clang does
> not have a corresponding intrinsic.
>
> Thanks in advance,
> Hal
>
> --
> Hal Finkel
> Postdoctoral Appointee
> Leadership Computing Facility
> Argonne National Laboratory
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120805/90c7d805/attachment.html>


More information about the cfe-commits mailing list