[Bug 46132] Multiple Windows 10 ARM64 apps crash with illegal instruction fault due to access of ARMv8 PMU cycle counter via 'PMCCNTR_EL0' register in EL0 (Linux kernel disallows access by default)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Nov 22 14:35:52 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=46132

--- Comment #1 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

another valuable resource of improving/fixing Wine on ARM64 is the Chrome
browser port to Windows 10 ARM64 platform that is currently underway and going
to continue for some months.

I'm following various Chromium and LLVM/Clang pull requests related to Win10
ARM64 porting activities.

Related PR to this ticket:

https://chromium-review.googlesource.com/c/chromium/src/+/1322363

https://chromium-review.googlesource.com/c/chromium/src/+/1322363/1/base/time/time_win.cc#653

--- snip ---
#if defined(_M_ARM64)

#define ReadCycleCounter() _ReadStatusReg(ARM64_PMCCNTR_EL0)

#else  // X86 or X64

#define ReadCycleCounter() __rdtsc()

#endif
--- snip ---

which backs my current analysis/conclusions.

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list