[PATCH] Add Clang support for intrinsic __rdpmc.

Reid Kleckner rnk at google.com
Mon Jun 30 11:16:23 PDT 2014


On Mon, Jun 30, 2014 at 10:47 AM, Andrea Di Biagio <
andrea.dibiagio at gmail.com> wrote:

> Hi,
> This patch adds Clang support for intrinsic __rdpmc in "ia32intrin.h".
> Intrinsic __rdpmc is implemented as a call to the x86 builtin
> '__builtin_ia32_rdpmc'.
> It takes as input a value representing the index of the performance
> counter to read.
> The value of the performance counter is then returned as an unsigned
> 64-bit quantity.
> LLVM support for builtin rdpmc has been committed already at revision
> 212049.
> Please let me know if ok to submit.
> Thanks!
> Andrea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140630/355c6cd4/attachment.html>

More information about the cfe-commits mailing list