Henrik Rydgard
09969c0156
Use the regcache in a new (incomplete) pass, PropagateConstants.
2016-05-08 01:06:07 +02:00
Henrik Rydgard
a33f8b68c6
ir-jit: Get rid of the regcache. Should be replaced with optimization passes.
2016-05-07 23:12:53 +02:00
Henrik Rydgard
750d520cc7
Initial work on mult and friends. Fix another bug.
2016-05-07 22:27:58 +02:00
Henrik Rydgard
3c5510e5a3
Disable debug file logging, fix issue with replacement functions, etc
2016-05-07 21:35:12 +02:00
Henrik Rydgard
12edfcea5a
Enough to run cpu_alu.prx.
2016-05-07 21:00:30 +02:00
Henrik Rydgard
4acf85aa06
It's kind of starting to run
2016-05-07 17:37:19 +02:00
Henrik Rydgard
d399c4a470
Initial commit for IRJit
2016-05-07 13:58:29 +02:00
Henrik Rydgard
49a6a2f6cf
Minor refactor - let's not access a global when we don't need to
2016-05-06 21:22:36 +02:00
Henrik Rydgard
ccce19e14a
Fix accidentally truncated comment.
2016-05-01 18:47:32 +02:00
Henrik Rydgard
ffe4c266ef
Add CodeBlockCommon base class to remove further arch-specificity in JitBlockCache
...
Remove unused ArmThunk.
2016-05-01 11:40:00 +02:00
Henrik Rydgard
8b450c8034
Merge NativeJit.cpp/h with JitCommon.cpp/h
2016-05-01 11:39:59 +02:00
Henrik Rydgard
5aadce59a2
Move architecture-specific code out of JitBlockCache
2016-05-01 11:39:58 +02:00
Henrik Rydgard
a5be0976bd
Remove preprocessor hacks to choose JIT implementation.
...
Opens up for having multiple JIT implementations available at runtime,
which could be use for experimenting with new JIT compiler types or for
unit testing one JIT on another architecture.
Very few of the newly virtual calls are on any sort of critical path so
hopefully there will not be a performance loss.
2016-05-01 11:39:53 +02:00
Henrik Rydgard
4645473dab
Remove unused code
2016-05-01 11:35:16 +02:00
Unknown W. Brackets
2461a849f9
Correct some warnings reported by clang.
2016-03-20 23:13:28 -07:00
Unknown W. Brackets
ef1dc583a2
Fix various minor warnings.
2016-03-20 14:17:51 -07:00
Henrik Rydgard
d60f5ba285
Fix minor memory leak in JIT block cache
2016-02-10 15:43:36 +01:00
Unknown W. Brackets
eebe3e7bce
armjit: Fix block exit safety writes.
...
This ensures we don't link to invalid blocks, fixes BKPTs on relinking,
and fixes BKPTs when relinking a prelinked block.
Should help #8524 .
2016-01-30 20:44:57 -08:00
daniel229
d032c3895b
Replace function in Omerta Chinmoku No Okite The Legacy
2016-01-24 11:58:20 +08:00
daniel229
0ab6c544b7
Replace function in unENDing Bloody Call
2016-01-24 11:55:56 +08:00
daniel229
80952d5e06
Replace function in ATV Offroad Fury Pro (US) demo
2016-01-24 11:53:46 +08:00
Unknown W. Brackets
67450f2625
Don't trust symbol map func defines.
...
Unfortunately, some games dynamically load modules that all have the same
name, but different content. This tries to detect that situation better,
by at least not using the name if the address is different.
This will also track the right sizes for hashing, making incorrect
identification of functions much less likely.
Fixes #8420 .
2016-01-22 00:39:31 -08:00
Unknown W. Brackets
8713e532e0
arm64jit: Log if HI is set an an imm.
2016-01-20 23:26:49 -08:00
Henrik Rydgard
dedcc149d8
ARM64: Fix typo in mfhi and mflo instructions. May help #8383
2016-01-19 23:26:43 +01:00
Unknown W. Brackets
0fc774927f
jit: Minor cleanups.
2016-01-10 12:28:29 -08:00
Henrik Rydgard and Unknown W. Brackets
b4dd094f56
x86jit: Save a MOV in many cases of "jr ra"
2016-01-10 12:28:00 -08:00
daniel229
1e984b48ef
update functions
2016-01-04 09:08:52 +08:00
daniel229
de8503f83b
Replace function in Shinigami to Shoujo
2016-01-03 22:35:46 +08:00
daniel229
05612bbc25
Replace function in Little Busters! Converted Edition
2016-01-03 22:28:38 +08:00
daniel229
3b461a00cc
Replace function in ATV Offroad Fury Blazin' Trails
2016-01-03 22:20:50 +08:00
daniel229
107fa1c09a
Replace function in ATV Offroad Fury Pro
2016-01-03 22:13:42 +08:00
daniel229
ed12bb9c89
Fix flickering in SD Gundam G Generation Portable
2016-01-03 09:56:40 +08:00
daniel229
678ca9301a
Fix tutorial videoes in Tony Hawk P8
2016-01-02 13:33:22 +08:00
gmvbif
281f0e18e6
Fixed some errors from PVS-Studio in Core project
...
FixedSizeQueue
- Added private operator=
- Changed signature of EndPop
Some changed to printf like functions.
Fixed typo in syn-att.c
2015-12-31 10:25:11 +03:00
sum2012
8debe785b8
Revert "Fix Yu-Gi-Oh 6 crash with edit card in Android version"
...
This reverts commit f659e60c8d .
The crash is correctly fixed
2015-12-29 04:10:18 +08:00
Henrik Rydgård
d70125f953
Merge pull request #8319 from unknownbrackets/jit-branch
...
Jit: Always link RA, even if branch not taken
2015-12-28 19:47:14 +01:00
Unknown W. Brackets
3ec7404d2d
Jit: Always link RA, even if branch not taken.
...
The ops don't write RA conditionally.
2015-12-27 20:47:15 -08:00
Unknown W. Brackets
86127b3d0d
Update armips to latest version.
...
The new version has some speed and other improvements.
2015-12-26 20:30:35 -08:00
Unknown W. Brackets
7bfe100b0f
Fix some unused variable warnings.
...
The CheckAlpha one looks like it will matter.
2015-11-25 16:11:53 -08:00
Henrik Rydgard
b998131581
Move the symbol map to the heap, deallocate it when no game is running.
2015-10-31 23:01:19 +01:00
Sacha
bbc4f64999
MIPS: Fix build so we can compile this again.
2015-10-29 02:46:43 +00:00
Henrik Rydgård
e69a456713
Merge pull request #8095 from hrydgard/improve-x64-disasm
...
x64 disasm: properly symbolize rip-relative addresses
2015-10-24 13:29:57 +02:00
Henrik Rydgard
aa584d1992
x86 32-bit buildfix
2015-10-24 11:10:14 +02:00
Henrik Rydgard
b7db15225f
x64 disasm: properly symbolize rip-relative addresses
2015-10-24 10:37:01 +02:00
Unknown W. Brackets
3735dc7c16
arm64: Fix crash on not-nice jr delay slot.
...
These are very rare, I only caught this while debugging with nice
disabled. But it could happen.
2015-10-17 01:22:26 -07:00
Unknown W. Brackets
387ebf3ddd
arm64: Only clobber HI and LO together.
...
We can't clobber LO if HI is still needed. Fixes a crash in Trails in
the Sky on new game (due to a mfhi getting the wrong result.)
2015-10-17 01:21:51 -07:00
Lioncash
fea7428fdb
Core: Add missing override specifiers
2015-10-17 02:58:02 -04:00
Henrik Rydgard
92f7f459dc
Not safe to change the rounding mode function pointer in GenerateCode
2015-10-10 16:46:07 +02:00
Henrik Rydgard
65ee3723d3
ARM64: Don't update currentRoundingFunc unless necessary.
2015-10-10 14:33:01 +02:00
Henrik Rydgard
70239f1611
Fix another rounding bug. ARM64 passes the fpu test again.
2015-10-10 13:30:30 +02:00