EE: Start work on MIPS JIT compiler
* This is something that I wanted to do for a very long time but I haven't due to lack of experience and for practical reasons since older systems don't really see any performance benefits from JITs. This is not the case with the PS2. * The JIT will use the asmjit library for code generation as it handles all the system calling conventions and allows us to focus on the code generation part. For now the JIT is in the prototyping phase. * The general architecture will be: IRBuilder -> Passes -> CodeGenerator I have some notes and I hope I can explain more things as I go.
Showing
- .gitmodules 3 additions, 0 deletions.gitmodules
- CMakeLists.txt 9 additions, 1 deletionCMakeLists.txt
- asmjit 1 addition, 0 deletionsasmjit
- conanfile.txt 1 addition, 0 deletionsconanfile.txt
- src/cpu/ee/ee.cc 11 additions, 0 deletionssrc/cpu/ee/ee.cc
- src/cpu/ee/jit/ir.cc 35 additions, 0 deletionssrc/cpu/ee/jit/ir.cc
- src/cpu/ee/jit/ir.h 92 additions, 0 deletionssrc/cpu/ee/jit/ir.h
- src/cpu/ee/jit/jit.cc 78 additions, 0 deletionssrc/cpu/ee/jit/jit.cc
- src/cpu/ee/jit/jit.h 37 additions, 0 deletionssrc/cpu/ee/jit/jit.h
- src/gs/gs.cc 4 additions, 1 deletionsrc/gs/gs.cc
- src/main.cc 1 addition, 1 deletionsrc/main.cc
Loading
Please register or sign in to comment