Commit Graph

7144 Commits

Author SHA1 Message Date
Ced2911
c4c43655aa indentation 2013-08-16 15:46:50 +02:00
Ced2911
a390db91e5 fix sub 2013-08-16 14:52:44 +02:00
Ced2911
5d06a04bf0 fix sub 2013-08-16 14:52:25 +02:00
Ced2911
d2e0b6a903 more compiled alu 2013-08-16 14:52:04 +02:00
Ced2911
42860a579c sub 2013-08-16 14:51:37 +02:00
Ced2911
eb177f943f jit: load/store, addi
various fixes
2013-08-16 14:51:22 +02:00
Ced2911
d2aa4747aa add prolog/epilog, add stbx, lbzx, fix addi/addis 2013-08-16 14:51:05 +02:00
Ced2911
41bf19244d use rlwinm instead of and, started jitted memory instructions 2013-08-16 14:50:40 +02:00
Ced2911
4c185bd01b more opcode 2013-08-16 14:50:16 +02:00
Ced2911
d410960ee1 remove cmplwi is same as cmpli 2013-08-16 14:50:00 +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
fa49be4a82 seem to be better ? 2013-08-16 14:48:19 +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
f9429177b9 add some new instr 2013-08-16 14:46:57 +02:00
Ced2911
b0815b84e8 more 2013-08-16 14:46:57 +02:00
Ced2911
a28bf4c4aa more 2013-08-16 14:46:56 +02:00
Ced2911
3a82881bf2 almost working !
hang when downcount is under 0
2013-08-16 14:45:19 +02:00
Ced2911
b32da03ce0 add subf. 2013-08-16 14:45:00 +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
cc0a8d1321 ppc emitter 2013-08-16 14:39:22 +02:00
Ced2911
c24c5c88d9 empty jit 2013-08-16 14:37:36 +02:00
Ced2911
c7a294d7c8 add LE_{type} 2013-08-16 14:34:40 +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
94096976ff Revert "Windows: Work around audio crash on exit."
This reverts commit 273b7126a8.
2013-08-16 00:57:04 +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
Henrik Rydgard
273b7126a8 Windows: Work around audio crash on exit. 2013-08-15 22:55:11 +02:00
Henrik Rydgard
8c4d13b819 Update native again with another bugfix 2013-08-15 22:43:56 +02:00
Henrik Rydgard
24b7cce122 Update native with UI crashfix and a tweak 2013-08-15 22:37:32 +02:00
Henrik Rydgård
f833872990 Merge pull request #3182 from unknownbrackets/scheduling
Reschedule in sceKernelReferThreadStatus()
2013-08-15 07:59:40 -07: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
Henrik Rydgård
97cc16cd6d Merge pull request #3180 from raven02/patch-2
Break fix title CG missing in Midlight club 3
2013-08-15 07:07:44 -07:00
raven02
94ded4c00c Break fix title CG missing in Midlight club 3 2013-08-15 21:58:18 +08:00
Henrik Rydgård
2ab05e234d Merge pull request #3178 from unknownbrackets/perf
Thread switching performance improvements
2013-08-15 01:56:48 -07: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
Henrik Rydgård
5493de16e4 Merge pull request #3177 from unknownbrackets/thread-funcs
Correct result of sceKernelGetThreadExitStatus(0)
2013-08-15 00:19:26 -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 Rydgård
9aafdeafcf Merge pull request #3172 from Kingcom/Debug
Separate accelerator table when the debugger is active
2013-08-14 14:52:50 -07:00
Kingcom
bfbea62ce3 Send messages to the debugger 2013-08-14 23:46:59 +02:00