On 10/31/20 6:25 PM, Joelle van Dyne wrote: > Unfortunately this crashes on iOS/Apple Silicon macOS. > > (lldb) bt > * thread #19, stop reason = EXC_BAD_INSTRUCTION (code=1, subcode=0xd53b002a) > * frame #0: 0x00000001169501e0 > libqemu-x86_64-softmmu.utm.dylib`tcg_prologue_init + 760 > ... > (lldb) x/i 0x00000001169501e0 > -> 0x1169501e0: 0xd53b002a mrs x10, CTR_EL0
That is *really* annoying. Why in the world would Apple not set SCTLR_ELx.UCT? There's nothing that the OS can do better than the application for ARMv8.0-A. Oh well. I'll paste your code in. r~