From 5a02fc4b5fa0eba4d0875db710400a74ada3b15f Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Thu, 23 May 2013 19:11:20 +0000 Subject: ARM: implement @llvm.readcyclecounter intrinsic This implements the @llvm.readcyclecounter intrinsic as the specific MRC instruction specified in the ARM manuals for CPUs with the Power Management extensions. Older CPUs had slightly different methods which may also have to be implemented eventually, but this should cover all v7 cases. rdar://problem/13939186 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182603 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/LangRef.rst b/docs/LangRef.rst index 4eecd15a6f..5e32eba7f7 100644 --- a/docs/LangRef.rst +++ b/docs/LangRef.rst @@ -6663,6 +6663,9 @@ memory. Implementations are allowed to either return a application specific value or a system wide value. On backends without support, this is lowered to a constant 0. +Note that runtime support may be conditional on the privilege-level code is +running at and the host platform. + Standard C Library Intrinsics ----------------------------- -- cgit v1.2.3