Unknown W. Brackets
d98adf27d6
x86jit: Add proxy blocks for continuing.
2014-10-12 17:15:31 -07:00
Unknown W. Brackets
01f9521dc5
jit: Invalidate blocks even if they end unevenly.
...
This allows blocks to start and end where ever they need, which should be
good for replacements and for continuing.
2014-10-12 17:13:04 -07:00
Unknown W. Brackets
90821b761d
x86jit: Pad linked exits with breakpoints.
...
So that we don't get garbage, and so we see if we end up there.
2014-10-12 16:00:58 -07:00
Unknown W. Brackets
5fd402222b
x86jit: Use the shorter MDisp() offset for andLink.
2014-10-12 15:18:22 -07:00
Unknown W. Brackets
0f32103615
x86jit: Consistently use mips_.
2014-10-12 15:16:09 -07:00
Henrik Rydgård
afbe50d3b9
Merge pull request #6998 from unknownbrackets/jit-minor2
...
x86jit: Preload sp and similar regs used often
2014-10-13 00:00:28 +02:00
Unknown W. Brackets
e3a04aa2d2
x86jit: Preload sp and similar regs used often.
...
This can help us avoid using a temporary.
Very tiny performance improvement.
2014-10-12 14:53:56 -07:00
Unknown W. Brackets
6fae78cd3f
x86jit: Fix a bug in branch continuing.
...
When we predict it won't take a likely delay slot, we'd lose our register
allocation state.
2014-10-12 12:51:47 -07:00
Unknown W. Brackets
2f598e8f38
jit: Statically jump for fixed branches.
...
This handles both loops (first step is known) and static branches (some
code uses them instead of jumps, and we disassemble that to "b".)
Not likely to be a big improvement, but might help if the branch predictor
was wrong.
This is as opposed to continuing, which would build a larger jit block.
2014-10-12 12:51:47 -07:00
Unknown W. Brackets
9228ac72da
jit: Reorganize imm branch logic a bit.
2014-10-12 12:51:46 -07:00
Unknown W. Brackets
4d30288601
x86jit: Fix force flush to zero.
2014-10-12 12:51:46 -07:00
Unknown W. Brackets
928e2adfc9
jit: Avoid applying/restoring the rounding mode.
...
If the game never sets it, we can skip around syscalls, interpreter,
replacements, etc.
2014-10-12 12:51:45 -07:00
Unknown W. Brackets
8d0dca71fe
jit: Rename the rounding mode funcs to clarify.
...
They apply/restore the value, set/clear is confusing.
2014-10-12 11:35:20 -07:00
Henrik Rydgård
6cb2c9c97d
Merge pull request #6989 from hrydgard/x86-emitter-merge
...
Merge from Dolphin's x86-64 emitter
2014-10-12 19:52:59 +02:00
Henrik Rydgård
3b1476c8ec
MIPSTables: Annotate fp and hi/lo in/out more accurately than just "other"
...
Some typo fixes
2014-10-12 19:46:50 +02:00
Henrik Rydgard
8177b4c43b
Avoid an ifdef using PTRBITS
2014-10-12 19:35:55 +02:00
Henrik Rydgård
eab010a0c0
x86 JIT: Sacrifice a register for a pointer to the MIPS context. Shrinks emitted x86 code considerably.
...
Nice in 64-bit, but might be a bit too much in 32-bit though... Needs testing.
2014-10-12 19:35:55 +02:00
Henrik Rydgård
f99c2cd010
x86 Jit: Generate nicer code for some cases of addiu
2014-10-12 17:47:53 +02:00
Henrik Rydgård
91966824bb
minor cleanup: No point in having special functions for ReadFCR/WriteFCR, they're smaller than many other ops..
2014-10-11 15:57:36 +02:00
Henrik Rydgård
2feae8d98e
Merge pull request #6978 from daniel229/replace_danganronpa
...
Replace frame download in danganronpa 1&2
2014-10-07 00:46:19 +02:00
Henrik Rydgård
c9a21ab44d
Add T2 and T3 to our register enum for clarity
2014-10-05 14:20:30 +02:00
daniel229
5ff098efb9
Another replace frame download in danganronpa 1
2014-10-05 13:46:47 +08:00
daniel229
ef1484da65
Replace frame download in danganronpa 1
2014-10-05 13:44:39 +08:00
daniel229
a7cf3aeafc
Another replace frame download in danganronpa 2
2014-10-05 13:42:03 +08:00
daniel229
d7927009d0
Replace frame download in danganronpa 2
2014-10-05 13:39:15 +08:00
daniel229
aad301a97a
Replace download frame in Boku no Natsuyasumi 2 and 4
2014-09-27 14:00:37 +08:00
daniel229
4de7e89330
Replace download frame in Sora no kiseki SC,and a comment for Sora no kiseki 3rd
2014-09-26 17:13:01 +08:00
daniel229
ea9a0182e4
Replace download frame in Sora no kiseki FC
2014-09-26 16:55:37 +08:00
Henrik Rydgård
9aaaf3a835
Merge pull request #6922 from daniel229/a_few_func_replacement
...
A few functions replace in some games
2014-09-21 23:13:02 +02:00
Unknown W. Brackets
4210ba44eb
Clean up a few more ImmPtr() cases.
2014-09-21 08:34:27 -07:00
daniel229
d452d02aba
Update replace function for Toaru Majutsu to Kagaku no Ensemble.
2014-09-21 10:58:56 +08:00
daniel229
1e2abba2b1
Replace function in Toradora! Portable
2014-09-18 15:47:52 +08:00
daniel229
efa35294ce
Replace function in Hentai Ouji To Warawanai Neko
2014-09-18 15:45:58 +08:00
daniel229
4d6e0f6d31
Another function replace in Kirameki School Life
2014-09-18 15:41:39 +08:00
daniel229
a657da91c3
Replace download frame in Toaru Majutsu to Kagaku no Ensemble
2014-09-18 15:37:12 +08:00
daniel229
48b774d143
Replace download frame in Rezel Cross
2014-09-18 15:29:59 +08:00
daniel229
2dd3ab6c20
Replace frame download in suikoden1&2
2014-09-15 00:19:22 +08:00
Henrik Rydgard
f84ebf6bff
sprintf->snprintf, fix some too short buffers
2014-09-14 00:14:11 +02:00
Unknown W. Brackets
a892779f89
Merge pull request #6880 from daniel229/func_replace_sakurasou
...
Replace frame download in Sakurasou No Pet Na Kanojo
Conflicts:
Core/HLE/ReplaceTables.cpp
2014-09-12 22:28:27 -07:00
Unknown W. Brackets
52b6f1095e
armjit: Fix rounding mode, allow non flush-to-zero.
...
Default: force flush to zero (for RunFast mode.) But now it's an ini
option so we can more easily compare armjit differences.
2014-09-11 07:58:51 -07:00
daniel229
7c1d4234ab
Replace frame download in Sakurasou No Pet Na Kanojo
2014-09-11 15:32:07 +08:00
daniel229
22fa431f89
Replace frame download in Ore no Imouto ga Konnani Kawaii Wake ga Nai
2014-09-11 14:34:17 +08:00
daniel229
81ec625d0a
Update the hook for Kirameki School Life SP
2014-09-11 12:01:58 +08:00
daniel229
e8efab6d21
Change function name
2014-09-11 00:47:06 +08:00
daniel229
7f6f52a904
Fixes saveicons in Kirameki School Life SP.
2014-09-11 00:18:59 +08:00
daniel229
b1d9461779
Replace frame download in Narisokonai Eiyuutan
2014-09-09 14:33:15 +08:00
Unknown W. Brackets
420eb1bed3
Replace frame download in SD Gundam G Generation.
2014-09-08 22:44:27 -07:00
Unknown W. Brackets
ee6960ff7a
Hook the saveicon creation func in Growlanser IV.
2014-09-08 19:10:46 -07:00
daniel229
202f987e9b
Replace function for Zero no Kiseki and Ao no Kiseki
2014-09-05 00:52:04 +08:00
Andrew Church and Andrew Church
33264a6b8f
Hook Brandish frame capture for menu fadeout and save screenshots.
2014-09-04 17:36:56 +09:00