Zachary Cook
781094c597
git subrepo pull (merge) deps/lightrec
...
subrepo:
subdir: "deps/lightrec"
merged: "0df4ec86"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "0df4ec86"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "2f68596"
2021-08-22 11:47:17 -04:00
Ember Cold
4fc7b18b6d
Handle DIV overflow in lightrec
2021-07-21 15:36:34 +03:00
Zachary Cook
a388aacc8f
git subrepo pull --force deps/lightrec
...
subrepo:
subdir: "deps/lightrec"
merged: "aa2f992e"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "aa2f992e"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "2f68596"
2021-05-21 20:49:02 -04:00
Zachary Cook
bd765e2bf9
Move lightning.h and lightrec config.h to fix subrepos
...
This allows deps/light(rec/ning) to be free of any local changes
which allows more automated merging of any updates, and centralizes
the location of locally created files, these should be regenerated
whenever changes occur in thier subrepo files:
config.h <- deps/lightrec/config.h.cmakein
lightning.h <- deps/lightning/include/lightning.h.in
Also add the defines to keep lightrec optimizations enabled by default
2021-04-28 15:58:51 -04:00
Zachary Cook
a093ffec37
git subrepo commit (merge) deps/lightrec
...
subrepo:
subdir: "deps/lightrec"
merged: "a7bd81d3"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "16a375e4"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "2f68596"
2021-04-22 06:10:56 -04:00
Zachary Cook
8b6ca61d12
lightrec: fix race that could cause a freeze
...
git subrepo commit (merge) deps/lightrec
subrepo:
subdir: "deps/lightrec"
merged: "abf5cc51"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "2cca097e"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2020-06-08 00:03:33 -04:00
Zachary Cook
36c8a9d336
Lightrec: Improve homebrew support
...
git subrepo commit (merge) deps/lightrec
subrepo:
subdir: "deps/lightrec"
merged: "b2c00115"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "2081869a"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2020-05-16 20:16:48 -04:00
Zachary Cook
eb8d347c78
Lightrec: fix more games
...
These games now work:
- Need For Speed: V-Rally
- Alone In The Dark - One-Eyed Jack's Revenge
git subrepo pull (merge) deps/lightrec
subrepo:
subdir: "deps/lightrec"
merged: "d1f8adf1"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "e77f0380"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2020-05-13 14:44:09 -04:00
Zachary Cook
88b399bddd
git subrepo pull (merge) deps/lightrec
...
subrepo:
subdir: "deps/lightrec"
merged: "41210465"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "25b6423b"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2020-05-12 10:18:14 -04:00
Zachary Cook
034f3cd340
Lightrec: Fix SWL/LWL using wrong mask
...
Fixes #650
git subrepo commit (merge) deps/lightrec
subrepo:
subdir: "deps/lightrec"
merged: "89c42e26"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "126845d7"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2020-05-11 21:01:13 -04:00
Zachary Cook
dfdeaab5f3
Update to latest lightrec and extract PGXP from lightrec
...
PGXP functions are now called from within beetle
2020-04-28 16:57:13 -04:00
Zachary Cook
1c6e3e4394
Separate lightrec PGXP and non-PGXP rw_func
...
When tested with soul blade this increases dynarec performance by ~1%
for non-PGXP, and ~2% for PGXP as it always uses rw_func due to the fast-path
being disabled for it.
2020-02-08 21:49:13 -05:00
Zachary Cook
e5e83cde00
Add PGXP support in dynarec
...
Not much faster than interpreter, due to calling pgxp functions on
every load/store opcode
2020-02-03 03:06:25 -05:00
Zachary Cook
76100490e9
git subrepo pull (merge) deps/lightrec
...
subrepo:
subdir: "deps/lightrec"
merged: "327ed7c4"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "6c69e104"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
Revert bool changes to lightrec.h, use lightrec's solution
Add missing lightrec changes
2020-01-29 12:49:32 -05:00
Zachary Cook
3f7fe0deeb
git subrepo pull (merge) deps/lightrec
...
subrepo:
subdir: "deps/lightrec"
merged: "b9cf86d3"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "9a14de7d"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2020-01-27 11:40:07 -05:00
Zachary Cook
f4fc76cee8
git subrepo pull (merge) deps/lightrec
...
subrepo:
subdir: "deps/lightrec"
merged: "3636435a"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "96b4f031"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2020-01-23 16:11:33 -05:00
twinaphex
744e5797ce
Buildfixes for Android
2020-01-23 13:18:49 +01:00
Zachary Cook
986444d837
Add lightrec dynarec support
...
Only output for big-ass-debugger if LIGHTREC_DEBUG=1
LIGHTREC_DEBUG=1 implies DEBUG=1, to disable threaded recompiler, so that output is reliable
Select which dynarec option with core config option
Default back to the faster option, and should allow running debugger easier
Fix crash when switching dynarec option at run-time, need to invalidate lightrec_state
Fix exe loading enough to get into lightrec interpreter
Code for reloading expansion1 is from @simias dynarec
Fix savestate loading
Cleanup LIGHTREC_DEBUG
Keep track of previous dynarec option properly
Fully re-initialize lightrec when switching dynarec option
Add option to invalidate stores always (Full) or just for DMA (DMA Only)
Add option to configure amount of cycles that can pass in dynarec before a DMA/GPU update is forced
Do not init lightrec for beetle interpreter
Make lightrec memory logging more concise
Runahead can use a second instance, use exclusive shared memory and try another name
Fix load state again
Change default dynarec option to interpreter
Reword DMA/GPU event cycles option
Don't build lightrec by default, require HAVE_LIGHTREC=1
Revert ReadAbsorb changes, incompatible with old save states
Revert changes to GPR, much more compatible with beetle interpreter
Fix subrepos so they can be updated cleanly in the future
2020-01-21 20:43:53 -05:00
Zachary Cook
9f79743096
Add deps for dynarec
...
Fix subrepos due to squashing history
git subrepo pull (merge) deps/lightrec
subrepo:
subdir: "deps/lightrec"
merged: "81d07d4e"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "807c6fe7"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "5d6aba9"
git subrepo pull (merge) deps/lightrec
subrepo:
subdir: "deps/lightrec"
merged: "5084f032"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "e56284be"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
git subrepo commit (merge) deps/lightrec
subrepo:
subdir: "deps/lightrec"
merged: "a349e172"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "e077ae7b"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
git subrepo commit (merge) deps/lightrec
subrepo:
subdir: "deps/lightrec"
merged: "f8db9295"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "85195183"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
git subrepo commit (merge) deps/lightrec
subrepo:
subdir: "deps/lightrec"
merged: "11267e7c"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "f7121d08"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
git subrepo pull (merge) deps/lightrec
subrepo:
subdir: "deps/lightrec"
merged: "57c58dbf"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "6c9d6551"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
git subrepo commit (merge) deps/lightrec
subrepo:
subdir: "deps/lightrec"
merged: "eddfccd0"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "452f23f0"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
git subrepo commit (merge) deps/lightrec
subrepo:
subdir: "deps/lightrec"
merged: "342c892e"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "72881247"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
git subrepo pull (merge) deps/lightrec
subrepo:
subdir: "deps/lightrec"
merged: "3e1cf147"
upstream:
origin: "https://github.com/pcercuei/lightrec.git "
branch: "master"
commit: "a6ac0156"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2020-01-21 19:39:21 -05:00