Henrik Rydgård
00c32ddadb
Mostly get rid of including "Globals.h"
2013-12-30 10:17:11 +01:00
Unknown W. Brackets
438361d0bc
Clean up code pointer naming for the jit.
...
Now it properly identifies thunk code which is actually a decent percent
when fastmem is off at least.
2013-12-18 23:57:39 -08:00
Henrik Rydgard
2eab4aa1bf
Play around with function replacement. Turned off by default of course.
2013-12-17 23:40:27 +01:00
Henrik Rydgard
2140892074
Initial preparations for ability to replace game functions with custom implementations.
...
Also auto-saves hashmap additions and reapplies the hashmap on function
rename so that if you rename a function that exists in several copies
they will all be labelled.
Note that actual function replacement is not activated yet.
2013-12-17 12:27:20 +01:00
Unknown W. Brackets
5d2ff64252
Support for modified jit-enabled VerySleepy.
...
This allows profiling the jit. Should have zero perf impact when not
in use, since it's entirely triggered by VerySleepy.
2013-11-30 19:20:21 -08:00
Henrik Rydgard
55500d4bb6
Reorder VFPU registers in memory so that we can flush and reload them in bulk more often.
...
Doesn't actually do that yet, that's for the NEON branch.
2013-11-28 13:27:51 +01:00
Henrik Rydgard
5bb3824dcf
Implement vocp on ARM and x86.
2013-11-19 21:41:47 +01:00
Unknown W. Brackets
455a7e090d
Compile the cache instruction to nothing.
...
Was showing up in a few profiles, does nothing currently.
2013-11-10 14:38:10 -08:00
Henrik Rydgard
0a844ce98d
Delete functions for vsge and vslt, these have been rolled into VecDo3
2013-11-09 19:29:52 +01:00
Henrik Rydgard
6eb7f94065
Implement vsgn in x86/x64 and ARM jit
2013-11-07 15:29:13 +01:00
Unknown W. Brackets
2e8ef3027f
Write the retaddr to rd, not always ra, in jalr.
...
Thanks go entirely to @Kingcom for pointing this out.
Don't know of any games not using RA as the rd.
2013-10-17 07:39:33 -07:00
Henrik Rydgard
aa3cf34fc1
Jit: Fix valgrind warnings.
...
The first time PrefixStart was entered with startDefaultPrefix = true, it would
call EatPrefix, which checks the so far entirely uninitialized prefixXFlags.
2013-10-16 22:33:48 +02:00
Henrik Rydgard
41a988774f
ARM: implement vhdp
2013-09-28 20:07:57 +02:00
Unknown W. Brackets
50e9e45d65
Check version in each DoState() func.
...
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Ced2911
17b8d5d813
More recompiled instruction (fpu/alu)
2013-09-12 10:40:14 +02:00
Ced2911
23637db54c
more recompiled fpu (not tested)
2013-09-12 10:34:10 +02:00
Ced2911
e90d9c035a
more vfpu speed
2013-09-12 10:25:15 +02:00
Ced2911
bfe9018eb1
enable,fixe more vfpu
2013-09-12 10:25:15 +02:00
Ced2911
b90fde6c06
some fixes
2013-09-12 10:25:15 +02:00
Ced2911
e5024135a6
more on vfpu
2013-09-12 10:25:15 +02:00
Ced2911
a91d8bebe6
update ppc jit
2013-09-12 10:22:14 +02:00
Ced2911
7bf623d339
oops missed fpu reg cache
2013-09-12 10:22:01 +02:00
Ced2911
f8b5496bc8
some new recompiled instructions
2013-09-12 10:21:50 +02:00
Ced2911
dc41d0f0eb
recompile Fpu !
2013-09-12 10:21:39 +02:00
Ced2911
2ad39d3999
Almost all alu recompiled
...
Current issues:
Comp_RType3(min/max): Can't select start in disgaea
Comp_ShiftType(srl/srlv?): Crash ridge racer 2
2013-09-12 10:21:26 +02:00