JitArm64: Reimplement aarch64 cycle counters.

CNTVCT_EL0 is force-enabled on all linux plattforms.
Windows is untested, but as this is the best way to get *any* low
overhead performance counters, they likely use it as well.
This commit is contained in:
degasus
2017-08-13 01:51:37 +02:00
parent 9080192a65
commit 304e601ad3
5 changed files with 34 additions and 69 deletions

View File

@ -603,9 +603,9 @@ public:
// System
void _MSR(PStateField field, u8 imm);
void _MSR(PStateField field, ARM64Reg Rt);
void MRS(ARM64Reg Rt, PStateField field);
void CNTVCT(ARM64Reg Rt);
void HINT(SystemHint op);
void CLREX();