| 209 | } |
| 210 | |
| 211 | JitX86CodeGen(CPU* cpu) : JitSSE(cpu) { |
| 212 | #ifdef BOXEDWINE_64 |
| 213 | #ifdef BOXEDWINE_MSVC |
| 214 | params[0] = asmjit::x86::rcx; |
| 215 | params[1] = asmjit::x86::rdx; |
| 216 | params[2] = asmjit::x86::r8; |
| 217 | params[3] = asmjit::x86::r9; |
| 218 | #else |
| 219 | params[0] = asmjit::x86::rdi; |
| 220 | params[1] = asmjit::x86::rsi; |
| 221 | params[2] = asmjit::x86::rdx; |
| 222 | params[3] = asmjit::x86::rcx; |
| 223 | #endif |
| 224 | #endif |
| 225 | code.init(rt.environment()); |
| 226 | code.attach(&compiler); |
| 227 | code.set_error_handler(this); |
| 228 | } |
| 229 | |
| 230 | void preOp(DecodedOp* op) override; |
| 231 | RegPtr getReg(U8 reg, S8 hint = -1, bool load = true) override; |
nothing calls this directly
no test coverage detected