[PATCH] D136999: [AArch64] Lower READCYCLECOUNTER using MRS CNTVCT_EL0

Sebastian Pop via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 5 13:58:24 PST 2022


sebpop added a comment.

Ping patch.

In the Linux kernel rdtsc for Arm64 is implemented with CNTVCT_EL0:

https://lore.kernel.org/patchwork/patch/1305380/

> The system register CNTVCT_EL0 can be used to retrieve the counter from
> user space.  Add rdtsc() for Arm64.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136999/new/

https://reviews.llvm.org/D136999



More information about the llvm-commits mailing list