Unknown W. Brackets
1283a93492
Avoid some minor warnings.
2013-10-19 14:57:45 -07:00
Henrik Rydgård
07c818251c
Some formatting cleanup.
...
Yeah, I said we shouldn't do big overhauls..
2013-10-18 14:39:04 +02:00
Unknown W. Brackets
9a707f6c00
Fix typo, ARM build.
2013-10-17 15:28:50 -07: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
Sacha
18b7503dd5
Fix rounding errors in armjit.
2013-10-14 19:24:13 +10:00
Unknown W. Brackets
e4f71ce6e4
Avoid a few expected asserts in headless mode.
2013-10-14 00:51:08 -07:00
Unknown W. Brackets
d43c56ea29
Small warning fix.
2013-10-13 12:12:53 -07:00
Henrik Rydgård
29dd284372
Merge pull request #4156 from Kingcom/rotrfix
...
Fix rotrv (dis)assembly
2013-10-13 01:42:54 -07:00
Kingcom
480c766776
Fix rotrv (dis)assembly
2013-10-13 10:36:43 +02:00
Unknown W. Brackets
d6f1320dfd
Allow tab to be used in the assembler.
...
This way we can assemble our disassembly. Makes it easier.
2013-10-12 10:03:28 -07:00
Unknown W. Brackets
90c49befd4
Fix a possible race on shutdown.
2013-10-12 02:08:00 -07:00
Henrik Rydgard
e08ac100ce
Update native with workaround for #4078 and add some comments
2013-10-08 20:11:01 +02:00
Henrik Rydgard
fc8aa7bd8f
Crashfix dumping display lists that start at the start of VRAM (seems to hit this in GTA).
...
Add a couple of comments.
2013-10-07 22:58:46 +02:00
Henrik Rydgard
8f620c30ab
x86 jit: Implement vs2i (similar to vh2f but simpler)
2013-10-07 21:59:33 +02:00
Unknown W. Brackets
3a1b6fb269
Fix some sign comparison warnings.
2013-10-05 11:13:41 -07:00
adrian17
7e3f35dfe3
Removed redundant includes
2013-09-30 19:05:04 +02:00
Unknown W. Brackets
394d91371f
Avoid clearing the jit cache on savestate.
...
Downside: saving state could "fix" some issues with games detecting jit,
which won't happen anymore.
However, it's now faster to savestate.
2013-09-29 14:26:13 -07:00
Henrik Rydgard
b661ae6c41
Add very simple jit viewer screen to dev menu. Add untested emitter for cvt.f32.f16 & c:o.
2013-09-29 13:41:56 +02:00
Henrik Rydgard
7bb93c3bfe
Forgot to re-enable the "single" case of vh2f
2013-09-29 01:43:13 +02:00
Henrik Rydgard
649e830028
Minor cleanup
2013-09-28 22:19:00 +02:00
Henrik Rydgard
20174d9410
Delete the lookup table version of vh2f
2013-09-28 22:15:29 +02:00
Henrik Rydgard
7ca6d73857
Two approaches to vh2f (half-float to float): lookuptable and fast SSE
2013-09-28 22:08:44 +02:00
Henrik Rydgard
cfdfa77476
Change a bunch of "MayHavePrefix" to "HasUnknonwPrefix".
...
Should be safe, I think none of these have any sane use of prefixes anyway.
2013-09-28 12:33:16 +02:00
Henrik Rydgard
aa753c88b2
ARM: implement vhdp
2013-09-28 12:30:28 +02:00
Unknown W. Brackets
2751da1cec
Cut down on work in regcache init on x86.
...
Very tiny tiny optimization for games, but 8-10% optimization for tests.
2013-09-19 00:29:50 -07:00
The Dax
d102baacd0
Prep PPSSPP for Visual Studio 2013.
2013-09-17 10:27:06 -04:00
Henrik Rydgard
1bb6bbd07d
Remove superfluous check in vrot
2013-09-16 00:24:28 +02:00
Henrik Rydgard
6aecfe3998
Trying the VROT disable experiment again, this time in the right file...
2013-09-16 00:14:05 +02:00
Unknown W. Brackets
16b27ffb23
Disable x86 Comp_VRot on non-Windows.
...
This may fix x86 Android issues as well as Linux/etc.
2013-09-15 11:42:58 -07: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
Unknown W. Brackets
cbf1df9b01
Check for nan/inf in trunc.w.s in x86 jit.
...
Now x86 jit passes the fpu test too.
2013-09-13 22:32:25 -07:00
Unknown W. Brackets
7b71dc54dd
Don't say nan is equal to anything.
...
I guess we were passing this because of fastmath? Fixes interpreter
cpu/fpu/fpu test on Windows anyway.
2013-09-13 21:28:59 -07:00
Unknown W. Brackets
455431ba13
Integer round inf/nan to INT_MAX/INT_MIN.
...
Instead of 0x80000000 (the default "invalid" value.)
Improves the fpu test.
2013-09-13 21:27:31 -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
Ced2911
fb24e0ed28
Add some badly tested instruction
2013-09-12 10:20:34 +02:00
Ced2911
47280f007f
implement sltiu, slti is bad
2013-09-12 10:20:17 +02:00
Ced2911
d4acf0edd7
more jitted instructions
2013-09-12 10:20:02 +02:00
Ced2911
24576fd72f
recompile shift left/right immediate
2013-09-12 10:19:47 +02:00
Ced2911
52f4cccfa4
fix Jit
2013-09-12 10:19:35 +02:00