aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/new_dynarec
AgeCommit message (Collapse)Author
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
2014-12-06psxmem: remove hard requirement for a mappingnotaz
not all platforms have 1f800000 free not all mmap implementations use the addr hint..
2013-12-22(iOS) Work around clang crash when compiling libpcsxcor/new_dynarec/pcsxmem.c.meancoot
2013-06-05drc: add a test to catch broken platforms earlynotaz