Henrik Rydgard
bac7e87125
Add support for vi2f to x86 JIT
2013-04-27 21:46:00 +02:00
Henrik Rydgard
1a1c161a0d
Implement vmin/vmax in x86 jit, slots right into VecDo3
2013-04-27 20:52:42 +02:00
Henrik Rydgard
7375706d2f
Crashfix
2013-04-27 20:50:12 +02:00
Henrik Rydgard
c5c3189436
Fix some framebuffer-related crash bugs. Ignore cache instruction 'FILL'.
2013-04-27 20:06:31 +02:00
Henrik Rydgard
6f4ad05582
Remove some unused code, add some stubs to vfpu jit, some cleanup
2013-04-27 19:35:42 +02:00
Henrik Rydgard
5ced57953d
Fix a bug caused by the recent JIT optimization : ignore destroyed blocks.
2013-04-27 18:33:56 +02:00
Henrik Rydgard
78fe42fe80
Buildfix
2013-04-27 12:04:42 +02:00
Henrik Rydgard
2a39a3b972
JIT: Get rid of one memory access per dispatch, and get rid of blockcodepointers.
2013-04-27 01:32:03 +02:00
Henrik Rydgard
9eace8a80e
Combine the two JitCache implementations (x86, ARM) into one.
2013-04-27 01:32:03 +02:00
Henrik Rydgard
8a904fe478
Some JIT cleanup
2013-04-27 01:32:02 +02:00
Unknown W. Brackets
3bb5651ca7
Initial x86 jit for vtfm/vhtfm.
2013-04-20 01:52:06 -07:00
Unknown W. Brackets
9245490b53
Initial / simple vmscl for x86 jit.
2013-04-20 01:34:16 -07:00
Unknown W. Brackets
29109d25af
Non-optimal vmmul for x86 jit.
...
It's faster than interpreter anyway, but it could be much better.
2013-04-20 01:15:15 -07:00
Unknown W. Brackets
cfac7324d6
Implement vscl in the x86 jit.
2013-04-20 01:15:14 -07:00
aquanull
cfa029573c
Fix capping in vf2i
...
A quick and rough skim lead me to this quick and lazy fix. In short , IEEE 754 single-precision float is not precise enough for storing every int32 value, and you need double for that ;)
BTW, should there be a default case for the switch ((op >> 21) & 0x1f) right following below or dsv could be uninitialized?
2013-04-19 18:16:45 +08:00
Unknown W. Brackets
1dd738f311
Fix wrong sign if vf2i/vi2f with max imm arg.
2013-04-19 00:32:07 -07:00
Henrik Rydgard
06679fcce6
Switch to homemade isinf/isnan implementations.
2013-04-13 21:51:38 +02:00
Henrik Rydgard
e3fb88de68
Background thread for icon loading, show in game list. Switch to GNU STL in Android port.
2013-04-13 21:24:07 +02:00
Sonicadvance1 and Unknown W. Brackets
cd9b49acfd
Updates to ArmEmitter from Dolphin.
2013-04-12 10:14:18 -07:00
Sacha
1e25452eea
Buildfix for Blackberry
...
Did not have nullptr defined.
rint was already defined from cmath, in std namespace.
2013-04-11 15:16:45 +10:00
raven02
39c3cf8744
Ignore MIPS break error
2013-04-09 16:13:24 +08:00
niepodam
94c2f0cd9d
Fix build with gcc 4.8.0
2013-04-04 19:16:15 +02:00
Henrik Rydgard
81444c92a1
win32-gl-ui: Cleanup
2013-03-29 21:21:27 +01:00
Henrik Rydgard
724a600381
Buildfix android, misc other fixes, some include cleanup
2013-03-29 20:55:32 +01:00
Henrik Rydgård
04b1518874
Merge pull request #1074 from xsacha/master
...
Simplify armjit.
2013-03-26 01:13:56 -07:00
Unknown W. Brackets
e4223dbcb0
Simplify adding report messages, add a bunch more.
2013-03-26 00:54:00 -07:00
Sacha
471ddd6380
Simplify armjit.
2013-03-26 02:41:15 +10:00
Henrik Rydgård
b886b69c4e
NaN fix
2013-03-24 14:28:32 +01:00
Henrik Rydgård
15e3a7750f
Merge pull request #525 from raven02/vf2i-fix
...
Add NaN handling to vf2i , vsge , vslt
2013-03-24 03:44:31 -07:00
Henrik Rydgard
1c05ca355d
Fix "vasin" instruction.
2013-03-24 11:36:56 +01:00
Aapo Rantalainen
2b965a6f03
Maemo5 support
2013-03-22 09:15:00 +02:00
Henrik Rydgard
5293c152c6
Untested support for Android-x86. No idea if this actually works.
2013-03-21 20:52:33 +01:00
Unknown W. Brackets
796d2c10c6
armjit: VRAM comes before RAM, fix slowmem check.
...
Can't think of anything else, hopefully fixes #1021 .
2013-03-18 08:08:40 -07:00
Henrik Rydgard
688c40452e
Update pspautotest, fix a couple of minor vfpu bugs (don't seem to fix anything)
2013-03-17 21:58:32 +01:00
Unknown W. Brackets
5e537bd528
armjit: Optimize imm addresses in VFPU, slowmem path.
2013-03-16 20:31:52 -07:00
Unknown W. Brackets
3466f3c721
armjit: Add fastmem check to FPU.
...
Could reduce crashes that don't happen on x86.
2013-03-16 20:31:51 -07:00
Unknown W. Brackets
b8eb526691
armjit: improve slowmem, fix vram check.
...
Darn, copy/paste error.
2013-03-16 20:31:51 -07:00
Unknown W. Brackets
6ef5f4c8dc
armjit: Refactor slowmem path for reusing it.
2013-03-16 14:37:35 -07:00
Unknown W. Brackets
45b0b1203f
armjit: No, LDR/STR do not update flags.
...
Oops, had some other bug and thought this was the issue.
2013-03-16 14:37:35 -07:00
Unknown W. Brackets
de3713fc50
armjit: improve mem speed without fastmem.
2013-03-16 14:37:35 -07:00
Unknown W. Brackets
8f3904d32d
armjit: Speed up imm addresses in slowmem mode.
2013-03-16 14:37:35 -07:00
Unknown W. Brackets
f1498b68e0
Re-read R9 on iOS each time.
...
There's maybe a better way. Anyhow, seems to run.
2013-03-14 02:18:12 -07:00
Unknown W. Brackets
9561f1d9c1
iOS: Protect/unprotect isn't needed for jit.
2013-03-14 02:16:51 -07:00
Unknown W. Brackets
ead6983ad2
Don't lock armjit memory before aligning code.
2013-03-14 01:16:28 -07:00
Sacha
f88bf8bbff
Attempt at fixing JIT on iOS. Can only have PROT_WRITE or PROT_EXEC enabled. So toggle between them as needed.
2013-03-14 14:40:01 +10:00
Sacha
529803e429
Sonic's ArmEmitter changes (cross-project merge from Dolphin)
2013-03-14 12:47:29 +10:00
Unknown W. Brackets
243c8c7a34
Clean up disasm immediates.
...
They were still a bit wrong.
2013-03-11 23:45:29 -07:00
Unknown W. Brackets
f7e476e72e
Correct sign in disasm for immediates.
...
Fixes #943 .
2013-03-11 08:55:33 -07:00
Unknown W. Brackets
ed76563973
Don't bother checking nice, just do it after.
2013-03-11 02:18:27 -07:00
Unknown W. Brackets
b5fe67eb3d
If the out is RA, delay slot isn't nice for jal.
...
Fixes Phantasy Star Portable 2 in jit.
2013-03-11 02:14:38 -07:00