Commit graph

1873 commits

Author SHA1 Message Date
dakotachasesmith
fb12d53604 [EE_JIT64] Change scratchpad register from RBP to RAX, disable loads (for now), make DSLLV/DSRAV/DSRLv work properly 2019-04-22 23:21:17 -10:00
refractionpcsx2
fc2c436229 Set correct UV sizes when Mipmapping (Jurassic Park)
Round sprites to nearest pixels when drawing
2019-04-23 00:15:36 +01:00
PSISP
bdb7577f2c
Merge branch 'master' into vtlb 2019-04-22 16:52:00 -04:00
PSISP
e7995c254a
Merge pull request #205 from tadanokojin/threading-fixes
Some more threading fixes
2019-04-22 16:27:42 -04:00
PSI-Rockin
3c81f0af92 Some optimizations to EE icache
Also uncommented out uncached penalty... oops
2019-04-22 16:27:00 -04:00
PSI-Rockin
2d80f62a3b Hook up cache modes to VTLB 2019-04-22 16:10:19 -04:00
dakotachasesmith
7f6399a8d6 [EE_JIT64] M(T/F)(LO/HI) cleanup, treat LO/HI as normal flushable regs 2019-04-22 01:32:36 -10:00
dakotachasesmith
7b6612c32b [EE_JIT64] Implement MULT(U) 2019-04-22 01:08:10 -10:00
dakotachasesmith
915ee477bb [EE_JIT64] Implement DIVU 2019-04-22 00:15:52 -10:00
dakotachasesmith
16cd3d5462 [EE_JIT64] Mitigate another DIV bug by sign-extending LO instead of zero-extending 2019-04-21 23:54:27 -10:00
dakotachasesmith
5354869913 [EE_JIT64] Change private MTHI/LO functions to sign-extend immediates
Mitigates possible bug with DIV
2019-04-21 23:41:06 -10:00
dakotachasesmith
e971cd01d5 [EE_JIT64] Implement DIV
God help us all
2019-04-21 23:33:31 -10:00
dakotachasesmith
52aadd772b [EE_JIT64] Implement SLT/SLTU 2019-04-21 15:02:52 -10:00
dakotachasesmith
d5c2cdb3f6 [EE_JIT64] Implement MTHI/MTLO/MFHI/MFLO 2019-04-21 14:22:21 -10:00
dakotachasesmith
0c0bcbb56c [EE_JIT64] Slight optimization of BGTZ/BLEZ 2019-04-21 12:39:45 -10:00
dakotachasesmith
5047bcbaf1 [EE_JIT64] Implement AND/NOR/OR/XOR 2019-04-21 12:32:52 -10:00
dakotachasesmith
527bc124e9 [EE_JIT64] Implement MOVZ/MOVN 2019-04-21 11:17:29 -10:00
dakotachasesmith
78af1d81f8 [EE_JIT64] Various optimizations and cleanup of already implemented operations 2019-04-21 11:03:22 -10:00
dakotachasesmith
5a2ac950e0 [EE_JIT] Implement DADDI(U), some IR naming consistency changes 2019-04-21 09:13:47 -10:00
dakotachasesmith
716a161fb8 [EE_JIT64] Slight optimization of DSUB(U) 2019-04-21 08:44:01 -10:00
dakotachasesmith
313bafaf2a [EE_JIT64] Implement DSUB(U) 2019-04-21 08:10:16 -10:00
refractionpcsx2
16a9ddbf9d Disable mipmapping when MXL is 0 2019-04-21 17:43:10 +01:00
dakotachasesmith
4adf1d50a8 Implement DADD(U), fix Emitter64 bugs when moving imm to mem indicated by rsp/rbp/r12/r13 2019-04-21 05:46:07 -10:00
refractionpcsx2
95a22305ca Remove Jurassic Park fix for now, it breaks SotC 2019-04-21 02:08:53 +01:00
refractionpcsx2
eab552e273 Fix the Bilinear Filtering comment 2019-04-21 01:29:46 +01:00
refractionpcsx2
6a9f07ade0 Fixes to Bilinear Filtering selection 2019-04-21 01:23:03 +01:00
refractionpcsx2
a31def11d8 CLUT offset fix for PSMT32
Changes for Mipmapping to work well with Jurassic Park, Ratchet & Clank and Street Fighter EX3
2019-04-21 00:24:59 +01:00
PSI-Rockin
dbe528592d Reduce IOP icache penalty to a more reasonable amount
Also add more notes on EE cache misses
2019-04-20 18:35:30 -04:00
dakotachasesmith
c30c65b3e4 [EE_JIT64] Implement ADD(U) 2019-04-20 11:54:50 -10:00
Kojin
bf7ed91470 Some more threading fixes 2019-04-20 17:48:07 -04:00
PSISP
c39d350044
Merge pull request #202 from refractionpcsx2/master
Fixed IOP/EE timer edge cases
Fixed 32-bit CLUT bug
Fixed mipmapping
2019-04-20 15:04:50 -04:00
refractionpcsx2
f90a9dcc3c Added PSI's bloody space :P 2019-04-20 19:52:22 +01:00
dakotachasesmith
b98163596f [EE_JIT64] Optimize ADDI(U), fix bug with ADDI
thx PSI
2019-04-20 07:42:36 -10:00
dakotachasesmith
8f76ff1385 [EE_JIT64] Implement SB/SH/SW/SD 2019-04-20 06:13:08 -10:00
dakotachasesmith
eefe463b24 Half-undo optimizations for ADDIU (I broke some things) 2019-04-19 23:26:16 -10:00
dakotachasesmith
3f9baf27e7 [EE_JIT64] Change LUI to LoadConst, optimize ADDIU 2019-04-19 22:35:48 -10:00
dakotachasesmith
693c912174 [Emitter_x86] Add support for RSP/RBP/R12/R13 encoding CMOVCC or SETCC to memory 2019-04-19 06:58:40 -10:00
dakotachasesmith
33a57657f1 Fix bug where call_abi_func would occasionally attempt to allocate locked register 2019-04-19 06:38:18 -10:00
dakotachasesmith
311794701a [EE_JIT64] Implement LH/LHU/LW/LWU/LD 2019-04-19 06:09:05 -10:00
dakotachasesmith
3b963be161 [EE_JIT64] Implement LB/LBU 2019-04-19 05:54:26 -10:00
dakotachasesmith
41f06c9581 [EE_JIT64] Implement rest of ops already implemented under new regalloc methods 2019-04-19 00:02:53 -10:00
dakotachasesmith
8e03d58ac5 [EE_JIT64][TENTATIVE] Slight cleanup of EE_JIT64::alloc_gpr_reg(EmotionEngine& ee, int gpr_reg, REG_STATE state, REG_64 destination) 2019-04-18 21:40:14 -10:00
dakotachasesmith
25e9529a03 [EE_JIT64][TENTATIVE] Fix various regalloc bugs, rewrite ADDI(U) to support new changes 2019-04-18 21:25:17 -10:00
dakotachasesmith
639b2b8d64 [EE_JIT64][TENTATIVE] Improve register allocation prioritization 2019-04-18 18:57:22 -10:00
dakotachasesmith
31076692ab [EE_JIT64][TENTATIVE] Rework register allocation (only branch regs for now) 2019-04-18 18:39:30 -10:00
dakotachasesmith
a33cb5a7a6 [EE_JIT64] Work towards implementing Doubleword shifts 2019-04-18 18:39:05 -10:00
refractionpcsx2
5d5cbd4820 Fixed CLUT setting bug 2019-04-19 01:41:01 +01:00
refractionpcsx2
412a46d7e5 Don't round LOD on fixed K, it's already rounded 2019-04-18 20:21:50 +01:00
dakotachasesmith
a161c8d554 [Emitter x86] Make MOV8_REG function consistent with other mov reg functions 2019-04-18 03:06:56 -10:00
dakotachasesmith
78fdc98902 [EE_JIT64] Implement SLLV/SRLV/SRAV (though these still need optimizing 2019-04-18 03:01:24 -10:00