-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lightning+Lightrec updates and other optimizations #862
Draft
ZachCook
wants to merge
25
commits into
libretro:master
Choose a base branch
from
ZachCook:libretro-dynarec-backup
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
e328824
lightrec: update include files and folder
ZachCook 05f51c2
lightrec: Adjust to lightrec API changes and HAVE_MMAP for lightning
ZachCook 39f5b8a
Change GTE to allow using lightrec's registers
ZachCook 3f7d110
lightrec: attempt memfd and hugepages for ram mmap
ZachCook b801cba
Lightrec: enable codebuffer option, fix Windows, move/cleanup headers
ZachCook ba5d04a
add cpu_timestamp hack to so lightrec tracks more cycles
ZachCook 778c1b6
improve lightrec debugging by allowing threaded recompiler in debug b…
ZachCook d34dea9
clean and optimize loop around lightrec's execution functions
ZachCook 8a86773
support MainRAM at 0x0, use INVALID_PTR instead of NULL
ZachCook dd59b7e
Remove "Cycle Timing Check" (execute_one) dynarec option, use new lig…
ZachCook 9a38b02
Fix Windows and cleanup error handling in init_mmap
ZachCook 85f2354
git subrepo commit (merge) deps/lightning
ZachCook 3bf5fa5
git subrepo pull deps/lightrec
ZachCook 3541cf9
Update lightning and lightrec include files
ZachCook fd88631
Makefile.common: Add missing files for lightning lightrec update
ZachCook 59a2e9e
Extraction of lightrec specific code to cpu_lightrec.cpp
ZachCook 972b562
Fix build with lightrec update
ZachCook 75d2a4b
Add Dynarec SP GP hit RAM optimization option
ZachCook 7b88a39
Fix GTE bugs due to uninitialized lightrec_regs
ZachCook 472493e
Make cpu_lightrec friend class to cpu
ZachCook 98d42a5
Add Parrel Port Mirror support for PS2/PS3 BIOS
ZachCook b1e476e
Fix PGXP for LWU/SWU meta-opcodes in lightrec
ZachCook 2bf0f5e
Remove kunseg for pgxp rw, since lightrec_rw does that now
ZachCook 272fb20
lightrec_init_mmap: Clean and rewrite io_base mmap code
ZachCook a38d0ae
Fix libretro.cpp with HAVE_LIGHTREC=0
ZachCook File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You shouldn't have to compile TLSF since you disabled the code buffer support (ENABLE_CODE_BUFFER=0)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ENABLE_CODE_BUFFER=1 was set in 3012b97 of this PR, there were many changes squashed together, and it could maybe use even more to make this more clear maybe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I saw it after my message. I guess this change should be squashed into 3012b97 then.