Commit Graph
3709 Commits
Author SHA1 Message Date
Ced2911 d2e0b6a903 more compiled alu 2013-08-16 14:52:04 +02:00
Ced2911 eb177f943f jit: load/store, addi
various fixes
2013-08-16 14:51:22 +02:00
Ced2911 41bf19244d use rlwinm instead of and, started jitted memory instructions 2013-08-16 14:50:40 +02:00
Ced2911 2cc17cbcc1 jit few cleanup 2013-08-16 14:49:34 +02:00
Ced2911 5b87d222f4 implement fpu and vpu branch 2013-08-16 14:49:13 +02:00
Ced2911 fd6bbd6096 run cube.elf for 8728 frames (hit BranchFPFlag) 2013-08-16 14:48:42 +02:00
Ced2911 d613c44303 fix bgez 2013-08-16 14:47:54 +02:00
Ced2911 5f05b0b112 fix blt 2013-08-16 14:46:57 +02:00
Ced2911 b0815b84e8 more 2013-08-16 14:46:57 +02:00
Ced2911 3a82881bf2 almost working !
hang when downcount is under 0
2013-08-16 14:45:19 +02:00
Ced2911 1a5c6b59c5 add ppc jit 2013-08-16 14:40:29 +02:00
Ced2911 9431c811a7 broken ppc jit 2013-08-16 14:39:54 +02:00
Ced2911 c24c5c88d9 empty jit 2013-08-16 14:37:36 +02:00
Ced2911 c332a4af58 Endian and PPC support 2013-08-16 14:34:15 +02:00
Henrik Rydgard d97b09a88d Revert "Break fix title CG missing in Midlight club 3"
This reverts commit 94ded4c00c.
2013-08-16 09:00:40 +02:00
Henrik Rydgard 664d74a9b7 Another frameskipping attempt. Now: 0=no frameskip, 1=auto frameskipt, 2-9=fixed frameskip.
There is still some flicker remaining in non-buffered rendering that I can't seem to get rid off.
2013-08-16 01:00:26 +02:00
Henrik Rydgard 0348403f61 Turn vcmp back on again, let's not trust the one-operand arm vcmp for now 2013-08-15 22:57:04 +02:00
Unknown W. Brackets 83bc12ea08 Reschedule in sceKernelReferThreadStatus().
It's often called in loops waiting for a thread to wake up.

Fixes .hack//Link's sluggish performance.
2013-08-15 07:56:35 -07:00
raven02 94ded4c00c Break fix title CG missing in Midlight club 3 2013-08-15 21:58:18 +08:00
Unknown W. Brackets 2758634a0f Avoid overhead calling __KernelIdle().
~1.8% improvement in Zettai Hero Project.
2013-08-15 01:35:17 -07:00
Unknown W. Brackets 51e5cfab40 Small warning fix. 2013-08-15 01:35:06 -07:00
Unknown W. Brackets 846178a588 Optimize thread switching a bit.
~2.5% improvement in Zettai Hero Project (while multithreading.)
2013-08-15 01:26:16 -07:00
Unknown W. Brackets 5387e5c717 Oops, typo. 2013-08-15 00:38:53 -07:00
Henrik Rydgård 6b114e8cac Merge pull request #3175 from unknownbrackets/vfpu-minor
Handle branches in VFPU delay slots better
2013-08-15 00:24:50 -07:00
Unknown W. Brackets 0d5c66676d Correct result of sceKernelGetThreadExitStatus(0).
Fixes Zettai Hero Project's options menu.
2013-08-14 23:58:23 -07:00
Unknown W. Brackets df50e03146 Add a safety log for cases we don't handle right. 2013-08-14 23:14:25 -07:00
Unknown W. Brackets e639f8d15f Handle branches in VFPU delay slots better.
Based on tests on a PSP, all branches are attempted.  The behavior is
technically undefined.

It seems to take the delay slot's target if they differ and both pass.
This is the behavior the interpreter has, but it's more work in jit.

Since only a couple games seem to do this, and clearly expect this
behavior, this fixes all known cases of #1926.
2013-08-14 22:56:02 -07:00
Henrik Rydgard c41540d108 Remove checks the check whether the framebuffer already was set, shouldn't have any effect really 2013-08-14 17:54:58 +02:00
Henrik Rydgard 0a5c942daf Temporarily disable VCMP on ARM. Let's see if this fixes #3071 , if so I have debugging to do. 2013-08-14 17:41:16 +02:00
Henrik Rydgård ebb2aba2e0 Merge pull request #3164 from unknownbrackets/savestates
Fix savestate difference on 64/32 bit + warnings/minor
2013-08-14 08:12:44 -07:00
Henrik Rydgård e53d582b5a Merge pull request #3165 from thedax/soundInitFix
Fix an oversight where sound would never be initialised if a game is started with it off, and then is enabled later.
2013-08-14 08:12:13 -07:00
Henrik Rydgård 052778b075 Merge pull request #3166 from thedax/minorLoggingFix
Add SceNpDrmOpen to the table so it can be logged properly.
2013-08-14 08:11:42 -07:00
Henrik Rydgård f6dfd5f294 Merge pull request #3163 from makotech222/cwcheat
Fix for 0x6 cheats
2013-08-14 08:11:28 -07:00
The Dax 0f59767984 Add SceNpDrmOpen to the table so it can be logged properly. 2013-08-14 09:23:58 -04:00
The Dax 75f03b4d8a NewUI: Don't init audio if sound is disabled. And remove some stray newlines. 2013-08-14 09:05:24 -04:00
The Dax 5b2483ee73 Fix a bug where sound would never be initialised if a game is started with it off, then later enabled. 2013-08-14 08:47:10 -04:00
Unknown W. Brackets 8ab67b1674 Fix some warnings. 2013-08-13 21:05:54 -07:00
Unknown W. Brackets 65d4601140 Fix compat issue between 64/32 bit savestates. 2013-08-13 21:05:40 -07:00
Steven Cherry c1827698be Fix for 0x6 cheats 2013-08-13 21:24:35 -05:00
shenweip 1527934d25 Fixed wrong log message 2013-08-14 07:22:22 +08:00
shenweip 75fe4296b7 Update 2013-08-14 01:58:32 +08:00
shenweip d17e6064de Update 2013-08-14 01:33:02 +08:00
shenweip f0fc6178da Implemented support for export module entry size 5 2013-08-14 01:03:40 +08:00
CPkmn 2a5b20a5a0 Update PGF.h 2013-08-13 05:59:10 -07:00
CPkmn 2428d3f5c5 Update PGF.cpp 2013-08-13 05:56:26 -07:00
Unknown W. Brackets 49c7b9628a Fix some correctness warnings. 2013-08-12 23:40:22 -07:00
Unknown W. Brackets 8830d3603e Fix some overflow/null deref warnings. 2013-08-12 23:33:52 -07:00
Unknown W. Brackets 83373b8d87 Fix a pointer ARRAY_SIZE() compare (eek.) 2013-08-12 23:33:40 -07:00
Unknown W. Brackets c6c821a0f7 Fix some unitinialized values. 2013-08-12 23:33:11 -07:00
Unknown W. Brackets 008052e6d6 Fix some variable hiding warnings. 2013-08-12 23:32:38 -07:00