mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 03:29:57 +00:00
Add caveat to __builtin_readcyclecounter documentation.
The ARM cycle-counter can be restricted by the operating system; it's worth warning potential users of this issue. llvm-svn: 182604
This commit is contained in:
parent
bc93308489
commit
bfe2e5f778
@ -1410,7 +1410,9 @@ should only be used for timing small intervals. When not supported by the
|
||||
target, the return value is always zero. This builtin takes no arguments and
|
||||
produces an unsigned long long result.
|
||||
|
||||
Query for this feature with ``__has_builtin(__builtin_readcyclecounter)``.
|
||||
Query for this feature with ``__has_builtin(__builtin_readcyclecounter)``. Note
|
||||
that even if present, its use may depend on run-time privilege or other OS
|
||||
controlled state.
|
||||
|
||||
.. _langext-__builtin_shufflevector:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user