[cfe-commits] [PATCH] Add __builtin_readcyclecounter

Hal Finkel hfinkel at anl.gov
Sat Aug 4 20:28:59 PDT 2012


Hello,

Please review this patch which adds a __builtin_readcyclecounter()
intrinsic. LLVM provides i64 @llvm.readcyclecounter(), but clang does
not have a corresponding intrinsic.

Thanks in advance,
Hal

-- 
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang_bi_rcc.patch
Type: text/x-patch
Size: 1688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120804/d4efdaa1/attachment.bin>


More information about the cfe-commits mailing list