Commit Graph
5276 Commits
Author SHA1 Message Date
Unknown W. Brackets e8dc99328a Avoid using EAX as a temporary where possible.
All the regs should be indirect addressing compatible.  So if it's
in a reg, let's use that instead of EAX.
2013-01-20 12:57:14 -08:00
Henrik Rydgard 611fb3536f Try to use glDrawArrays in more situations, saving us a buffer. Misc. 2013-01-20 21:52:54 +01:00
Unknown W. Brackets eaa24ee047 Use EDX as a temporary for sb, and jit it. 2013-01-20 12:25:08 -08:00
Henrik Rydgard 8b4deb93ce Merge branch 'master' into vertexcache 2013-01-20 19:18:52 +01:00
Unknown W. Brackets 30f6a4ba87 Fix stupid stupid typo breaking slowmem jit. 2013-01-20 09:39:13 -08:00
Henrik Rydgard 04860322f4 Merge branch 'master' into vertexcache 2013-01-20 11:30:11 +01:00
Unknown W. Brackets da22eb8adf Make swc1 and lwc1 fast even without fastmem. 2013-01-20 02:07:00 -08:00
Henrik Rydgård 2cb830510c Merge pull request #444 from unknownbrackets/jit-minor
Don't muck with currentMIPS->r directly in the slowmem jit
2013-01-20 01:58:48 -08:00
Xele02 ccdc0b77c1 Set the PSP language in the config file 2013-01-20 10:50:05 +01:00
Henrik Rydgård 3ad4e0f9fd Merge pull request #452 from unknownbrackets/jit-mismap
Log missed jit ops for poor man profiling
2013-01-20 01:34:34 -08:00
Henrik Rydgård b756caa76e Merge pull request #453 from raven02/master
MODE 6/7 for SCE_UTILITY_SAVEDATA_TYPE_DELETE/LISTDELETE
2013-01-20 01:33:10 -08:00
raven02 b16a208453 Add __PsmfPlayerDoState(PointerWrap &p) to sceKernel 2013-01-20 16:24:49 +08:00
Unknown W. Brackets 53600161ba Don't write anything to a bad static pointer.
Not sure what came over me...
2013-01-20 00:19:18 -08:00
raven02 6ebb06c171 Add PSP_SYSTEMPARAM_ID_INT_BUTTON_PREFERENCE and region Russia/Trad Chi/Sim Chi 2013-01-20 14:23:14 +08:00
raven02 6e6fa2458e Mode 7 should be SCE_UTILITY_SAVEDATA_TYPE_LISTDELETE 2013-01-20 12:40:24 +08:00
Unknown W. Brackets 385417effe Log jit misses at runtime instead of compile time.
Really, it could be very different after all... this shouldn't be
all that slow, I guess.
2013-01-19 20:11:17 -08:00
Unknown W. Brackets 75a3872923 Log missed jit ops for poor man profiling. 2013-01-19 19:58:25 -08:00
Unknown W. Brackets 862c88d61a More warning fixes, switches and printfs, etc.
This time ones not reported by Visual Studio.
2013-01-19 18:32:37 -08:00
Unknown W. Brackets e78223d2c0 Since flipping the op is easy, also do lb/lh. 2013-01-19 16:25:57 -08:00
Unknown W. Brackets 5e8f1917ee Fix 64-bit memory dereferencing. 2013-01-19 16:25:57 -08:00
Unknown W. Brackets 90e6f0b7df Optimize static memory read/writes in jit as well.
Like the arm jit does.
2013-01-19 16:25:56 -08:00
Unknown W. Brackets c64966c16e Oops, lost the CONDITIONAL_DISABLE. 2013-01-19 16:25:56 -08:00
Unknown W. Brackets 140fd171ef Fix some 64-bit type conversion warnings. 2013-01-19 13:48:20 -08:00
Unknown W. Brackets 37fb64ac83 Fast path scratchpad too, shouldn't be expensive. 2013-01-19 11:11:45 -08:00
Unknown W. Brackets 72e547420d Refactor jit slowmem, add lbu to jit since easy. 2013-01-19 11:11:45 -08:00
Unknown W. Brackets 5305017fc3 Properly save registers before the slowmem call. 2013-01-19 11:11:44 -08:00
Unknown W. Brackets f1295f6262 Don't muck with currentMIPS->r in the slowmem jit. 2013-01-19 11:11:44 -08:00
Henrik Rydgard 8ff96bbcd8 Defer vertex decoding until flush. Track draw calls so that they can be cached later. 2013-01-19 17:05:50 +01:00
raven02 79d9f25e92 Display AM/PM and 12 hour format 2013-01-19 23:49:42 +08:00
raven02 7961197dac Cosmetic fix PSPSaveDialog::DisplayConfirmationYesNo 2013-01-19 23:05:05 +08:00
raven02 b0868613bb Add DoState() to scePsmfPlayer . 2013-01-19 21:07:50 +08:00
Henrik Rydgard 229d4e9f32 Buildfix 2013-01-19 13:10:52 +01:00
Henrik Rydgard 3ae4cd4e2a Correct an include path 2013-01-19 11:43:31 +01:00
Henrik Rydgård c20cef2399 Merge pull request #440 from unknownbrackets/jit-minor
Micro optimizations to x86 jit mem when fastmem is off
2013-01-19 02:04:34 -08:00
Unknown W. Brackets 2ad77aa9c8 Gotta flush before the call, too. 2013-01-19 01:53:11 -08:00
Henrik Rydgård ea963f80ed Merge pull request #437 from raven02/master
Implement couples of scePsmf and scePsmfPlayer functions
2013-01-19 01:17:04 -08:00
Henrik Rydgård f93f348a46 Merge pull request #439 from unknownbrackets/jit-minor2
Jit breakpoints (x86 only)
2013-01-19 01:15:37 -08:00
Henrik Rydgard 0eeca3e9e4 Change background color of dialogs to a more psp-like transparent gray. Can be tweaked further of course. 2013-01-19 10:10:26 +01:00
Unknown W. Brackets 09422d5adb Avoid a func if possible when fastmem is off. 2013-01-19 01:02:47 -08:00
Unknown W. Brackets bc75b68c36 Also jit sh and lhu, which are pretty common ops. 2013-01-18 23:10:51 -08:00
Unknown W. Brackets d5ae85201c Optimize sw/lw even under safe memory.
They're very common instructions, so shaving cycles helps.
2013-01-18 23:10:50 -08:00
raven02 d1ec43bc64 Implement couples of scePsmf and scePsmfPlayer functions 2013-01-19 14:42:37 +08:00
Unknown W. Brackets 11c5cdfdb0 Refactor out all the CheckJitBreakpoint()s.
Ah, much cleaner.
2013-01-18 21:33:23 -08:00
Unknown W. Brackets 5080285e54 Add breakpoints for delay slots.
Wanted to do this in CompileAt(), darn not nice delay slots.
2013-01-18 21:12:58 -08:00
Unknown W. Brackets 40ae3dfe45 Correctly break at branch points in x86 jit. 2013-01-18 21:12:53 -08:00
Unknown W. Brackets beac991a9e Clear jit cache when changing breakpoints.
For now, only when paused.  I don't think clearing the cache while
running is an awesome idea.
2013-01-18 20:12:53 -08:00
Unknown W. Brackets a9293c8923 Add breakpoints to x86 jit for easier debugging.
They should be really fast so leaving them on in release.
2013-01-18 20:10:37 -08:00
Xele02 1f4f5eaf9a Add fade in / out on dialog to allow time for the user to release
button.
2013-01-19 00:46:05 +01:00
Xele02 bf7f6d54cb Use "newData" from request which is the PNG icon for empty save. 2013-01-18 22:24:13 +01:00
Unknown W. Brackets 76e693f674 Cleanup the other vpl functions. 2013-01-18 01:38:15 -08:00