[llvm] r182603 - ARM: implement @llvm.readcyclecounter intrinsic

JF Bastien jfb at google.com
Fri May 24 15:16:10 PDT 2013


> I tend to think the issues around using these counters (multiple CPUs,
> task switching, ...) are subtle enough that we should rely on the user
> to know when it's sensible. There's no magical "I want to time a loop"
> predicate we could implement, and I wouldn't want to give the
> impression there is.
>

What I meant was that having an intrinsic to test for support would also be
useful.

Are there any OSes that ship with this turned on for user-mode by default?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130524/1fd2757d/attachment.html>


More information about the llvm-commits mailing list