<div dir="ltr">lgtm</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 30, 2014 at 10:47 AM, Andrea Di Biagio <span dir="ltr"><<a href="mailto:andrea.dibiagio@gmail.com" target="_blank">andrea.dibiagio@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
This patch adds Clang support for intrinsic __rdpmc in "ia32intrin.h".<br>
Intrinsic __rdpmc is implemented as a call to the x86 builtin<br>
'__builtin_ia32_rdpmc'.<br>
It takes as input a value representing the index of the performance<br>
counter to read.<br>
The value of the performance counter is then returned as an unsigned<br>
64-bit quantity.<br>
<br>
LLVM support for builtin rdpmc has been committed already at revision 212049.<br>
<br>
<br>
Please let me know if ok to submit.<br>
<br>
Thanks!<br>
<span class="HOEnZb"><font color="#888888">Andrea<br>
</font></span></blockquote></div><br></div>