<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 6/19/14, 7:12 PM, sathvik wrote:<br>
    </div>
    <blockquote
cite="mid:CAA9Ha9EmWAxvBETY+CA7cv+2LtX4Yt+6CKayPesRArRztDe=Jg@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:verdana,sans-serif;font-size:small">I want
          to measure the performance of a JITed code snippet on MCJIT. </div>
        <div class="gmail_default"
          style="font-family:verdana,sans-serif;font-size:small">
          so I was planning to inject the RDPMC inst for the code
          generated through a llvm IR builder. <br>
        </div>
      </div>
    </blockquote>
    <br>
    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.<br>
    <br>
    Regards,<br>
    <br>
    John Criswell<br>
    <br>
    <blockquote
cite="mid:CAA9Ha9EmWAxvBETY+CA7cv+2LtX4Yt+6CKayPesRArRztDe=Jg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:verdana,sans-serif;font-size:small"><br>
        </div>
        <div class="gmail_default"
          style="font-family:verdana,sans-serif;font-size:small">
          Is there a patch available ? If there's a better way to do it
          please chime in.</div>
        <div class="gmail_default"
          style="font-family:verdana,sans-serif;font-size:small"><br>
        </div>
        <div class="gmail_default"
          style="font-family:verdana,sans-serif;font-size:small">
          Thanks</div>
        <div class="gmail_default"
          style="font-family:verdana,sans-serif;font-size:small">sathvik
           </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>