| 6863 | } |
| 6864 | |
| 6865 | U8* JitArmV8CodeGen::createBlockExit() { |
| 6866 | compiler.blr(xWriteCacheToCPU); |
| 6867 | |
| 6868 | compiler.mov(xTmp7, xCPU); |
| 6869 | for (int i = 19; i < 31; i += 2) { |
| 6870 | compiler.ldp(R64(i), R64(i + 1), Mem(xTmp7, offsetof(CPU, storedRegs) + (i - 19) * 8)); |
| 6871 | } |
| 6872 | compiler.ret(asmjit::a64::x30); |
| 6873 | return createDynamicExecutableMemory(); |
| 6874 | } |
| 6875 | |
| 6876 | void JitArmV8CodeGen::blockExit() { |
| 6877 | compiler.mov(xBranch, cpu->thread->process->blockExit); |