mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
[PR #675] [MERGED] JIT optimizations and refactoring #83
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stenzek/duckstation/pull/675
Author: @stenzek
Created: 7/30/2020
Status: ✅ Merged
Merged: 7/31/2020
Merged by: @stenzek
Base:
master← Head:jit-optimizations📝 Commits (10+)
9f93786CPU/Recompiler: Use rel32 call where possible for no-args21e7659JitCodeBuffer: Support using preallocated buffer9731be3CPU/Recompiler/AArch64: Use bl instead of blr for short branches660e187CPU/CodeCache: Allocate recompiler buffer in program space724cb10GTE: Don't store as u16 and load as u326192375CPU/Recompiler: Add methods to emit global load/stores95f4355GTE: Convert class to namespace3245654CPU/Recompiler: Call GTE functions directlye76500bSettings: Turn into a global variable1427993GPU: Replace local pointers with global📊 Changes
88 files changed (+4453 additions, -4505 deletions)
View changed files
📝
android/app/src/cpp/android_host_interface.cpp(+33 -43)📝
src/common/jit_code_buffer.cpp(+113 -14)📝
src/common/jit_code_buffer.h(+20 -12)📝
src/core/CMakeLists.txt(+0 -4)📝
src/core/analog_controller.cpp(+13 -12)📝
src/core/analog_controller.h(+3 -4)📝
src/core/bus.cpp(+920 -316)📝
src/core/bus.h(+117 -265)➖
src/core/bus.inl(+0 -288)📝
src/core/cdrom.cpp(+26 -18)📝
src/core/cdrom.h(+6 -12)📝
src/core/controller.cpp(+5 -5)📝
src/core/controller.h(+2 -3)📝
src/core/core.vcxproj(+0 -6)📝
src/core/core.vcxproj.filters(+1 -7)📝
src/core/cpu_code_cache.cpp(+169 -205)📝
src/core/cpu_code_cache.h(+16 -68)📝
src/core/cpu_core.cpp(+397 -393)📝
src/core/cpu_core.h(+74 -155)➖
src/core/cpu_core.inl(+0 -146)...and 68 more files
📄 Description
Opening as a PR so the CI will build it, needs some testing to make sure nothing is broken.
Should not have any differences with master (save states are even compatible), except 10-15% faster. Still plenty to come.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.