[LLVMdev] RDPMC inst use in llvm

John Criswell criswell at illinois.edu
Fri Jun 20 08:21:44 PDT 2014


On 6/19/14, 7:12 PM, sathvik wrote:
> I want to measure the performance of a JITed code snippet on MCJIT.
> so I was planning to inject the RDPMC inst for the code generated 
> through a llvm IR builder.

I assume the easier way to do this is to add an inline assembly call 
that uses the RDPMC instruction.  I don't think there's an LLVM IR 
intrinsic function that does it.

Regards,

John Criswell

>
> Is there a patch available ? If there's a better way to do it please 
> chime in.
>
> Thanks
> sathvik
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140620/160e02f8/attachment.html>


More information about the llvm-dev mailing list