aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/new_dynarec
AgeCommit message (Collapse)Author
2021-07-02Always look up verify_dirty literals from offsetsHEADtrimui-sneonloop
Literals are deduplicated, so there's no guarantee they will be stored next to each other, even if they're written sequentially. verify_dirty and get_bounds must use the offsets on each instruction, instead of assuming values are stored sequentially.
2020-08-04Add header guardsnegativeExponent
2020-05-10More core option fixesnegativeExponent
- This PR fixes core options and moves them to the related dynarec modes where they are implemented. LIGHTREC = relates to platforms that supports the new Lightrec mode NEW_DYNAREC = relates to previous dynarec implementation that is still used for some 32bit devices - Dynarec Recompiler core option, both dynarec implementation can be enabled or disabled
2020-02-24Fix dynarec crashes on 3DSJustin Weiss
After the dynarec writes new instructions, it has to flush the instruction and data caches. Some of these flush operations are privileged on the 3DS, so the clear cache functions have to run through svcBackdoor. The Nintendo implementation (and CFW reimplementation) of svcBackdoor has a problem where interrupts and context switches will cause crashes. Even though we can disable interrupts in the flush function, there's still a window of time between svcBackdoor being called and the function being run where an interrupt will corrupt the stack. Luma3DS implemements a svcCustomBackdoor call we can use that also runs a function in supervisor mode, but uses an implementation that avoids this problem.
2017-09-01Fix polygon issuesmeepingsnesroms
2017-05-03Merge https://github.com/notaz/pcsx_rearmedtwinaphex
2017-05-03use pc-relative offsets for PIC toonotaz
2016-10-04(VITA) Use RWX pathFrancisco José García García
2016-09-30Backport drc: fix a mistake from w^x cahngetwinaphex
2016-09-30drc: fix a mistake from w^x changenotaz
Fixes: d148d265
2016-09-29Define NO_WRITE_EXEC for Androidtwinaphex
2016-09-28(new_dynarec) Cleanupstwinaphex
2016-09-28(new_dynarec) Updatetwinaphex
2016-09-27Update new_dynarec - working towards a common shared ari64twinaphex
codebase for both mupen64plus and pcsx rearmed - see libretro/ari64
2016-09-27Rearrange files for new_dynarectwinaphex
2016-09-26(VITA) Dynarec workingFrancisco José García García
2016-09-21Merge branch 'mainline' into libretronotaz
2016-09-21partially revert c4052f4d79cfnotaz
See github issue #74 for details.
2016-09-21drc: some vita and 3ds supportnotaz
not tested, mostly just guesswork
2016-09-21drc: avoid MAP_FIXEDnotaz
it's almost never a good idea, it will override some other mapping and make things crash
2016-09-20partially revert "(VITA) Some dynarec"notaz
See github issue #74 for details.
2016-09-20Revert "(VITA) Another dynarec fix"notaz
This reverts commit d9e6b42f224f10d8b6f2454da1f5d80735f8e0d6. See github issue #74 for details.
2016-09-20Revert "(VITA) More dynarec fixes"notaz
This reverts commit 1c2e3fc3baf93e7c17f678d0d187e9f424360bb2. See github issue #74 for details.
2016-09-19drc: try to support w^x platforms like iOSnotaz
untested...
2016-09-19drc: remove unnecessary cache flushingnotaz
should already be flushed or not matter at this point
2016-09-18drc: enable and fix warningsnotaz
these were kept for compat with Ari64's code, which is removed, see previous commit messages
2016-09-18drc: mark things staticnotaz
2016-09-18drc: strip eol blanksnotaz
Because people send patches while using editors that strip blanks and the patch becomes a mess.
2016-09-18drc: drop less obvious dead codenotaz
2016-09-18drc: drop heaps of dead codenotaz
I've kept it around to keep the code similar to Ari64's version, so that it would be easier to merge back his fixes. However Mupen64plus has long reformatted the code and it kind of went different direction anyway, so there is no point to keep all this code now.
2016-09-06(VITA) More dynarec fixesfrangarcj
2016-09-06(VITA) Another dynarec fixfrangarcj
2016-09-06(VITA) Some dynarecfrangarcj
2016-04-22Merge branch 'master' of https://github.com/notaz/pcsx_rearmed into notaz-masterdankcushions
2016-04-01don't use __ARM_ARCH_7A__notaz
github issue #68
2016-03-22Backport this - ↵twinaphex
https://github.com/jsonn/pkgsrc/commit/9d0d89dbc3ab94147676f296c61f977ee5ce5e36
2016-03-02Merge https://github.com/notaz/pcsx_rearmedtwinaphex
2016-02-28drc: handle any immediatenotaz
2015-10-03(CTR/3DS) build fix.aliaspider
2015-10-03(CTR/3DS) some performance tweaks:aliaspider
- use linearAlloc for vout_buf. - use svcFlushProcessDataCache to flush only the required range, invalidating icache doesn't seem to be required.
2015-09-29(vita) build fix.aliaspider
2015-09-23(ctr/3ds) add target.aliaspider
2015-02-05dma: do some madr updatesnotaz
untested, but makes ff7 behave better with linked lists (dither problem)
2015-01-31assem_arm.c: Use ARMv6 instructions if possiblegizmo98
Replace HAVE_ARMv7 with HAVE_ARMv6 if the instructions are supported by ARMv6. uxth, sxth and sxtb are present under ARMv6: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0473k/dom1361289925707.html
2015-01-03mingw build fixesnotaz
2014-12-25drc: more timing hacksnotaz
b6e87b2bc096 broke R-Type sound, try to recover.. also check PE2
2014-12-23drc: implement block addr list savingnotaz
should give better experience after savestate load
2014-12-23drc: replace unused reg32 with new reg_sv_flagsnotaz
2014-12-20spu: rework synchronizationnotaz
2014-12-20spu: add a schedule callbacknotaz