Commit graph

1873 commits

Author SHA1 Message Date
PSISP
838e248512
Merge pull request #295 from refractionpcsx2/gs_vsync_fix
Remove some old code no longer required, tidied up VBLANK GS interrupts
2020-02-11 17:05:36 -05:00
PSI-Rockin
8f8e46f728 DMAC: Remove outdated code
ref's previous PR has a proper fix for this behavior
2020-02-11 15:41:35 -05:00
PSI-Rockin
9b4e013771 CMake: Add missing BIN/CUE source files 2020-02-10 23:20:02 -05:00
refractionpcsx2
0d3c1352d2 Remove some old code no longer required, tidied up VBLANK GS interrupts 2020-02-09 21:41:52 +00:00
PSISP
bd3751ed12
Merge pull request #292 from refractionpcsx2/vu_mem_access
Implement missing VU memory reads/writes on EE side
2020-02-08 21:09:06 -05:00
dakotachasesmith
995179b29d Optimize EE_JitTranslator::data_dependency_analysis, fix dual-issue bug in fn 2020-02-08 15:48:42 -10:00
dakotachasesmith
4e1e550e76 Change std::array in dual_issue_analysis to std::unordered_map 2020-02-08 15:35:10 -10:00
refractionpcsx2
6776d064b9 Implement missing VU reads/writes from EE hardware 2020-02-09 01:14:01 +00:00
PSISP
7fb599b3da
Merge pull request #291 from refractionpcsx2/gs_signal
Fix double SIGNAL handling
Savestate bump
2020-02-08 18:24:04 -05:00
refractionpcsx2
cc2f8a6a55 Fix double SIGNAL handling
Savestate bump
2020-02-08 23:13:03 +00:00
PSISP
1092666344 Merge pull request #279 from refractionpcsx2/vif_gif_dma_changes
*VIF: Fixed VIF Flush Stall when waiting on PATH1&2
*DMAC: Try to improve PATH3 Masking reliability at higher MAX_CYCLES
*GIF: Fill out most of GIF_STAT and correct FIFO size value
*GIF: Ignore PACKED writes to address 0x7F, since this doesn't exist
*GIF: Fix FINISH to only trigger when all transfers end
*GIF: Fix up unused intermitted check, can be used for testing
*GIF: Remove item from queue first, things have changed so it no longer needs to be last
*VIF: Fix stall conditions waiting for PATH1/2 and VU to be idle
2020-02-08 17:56:35 -05:00
PSISP
aed508c393 Merge branch 'master' into vif_gif_dma_changes 2020-02-08 17:51:46 -05:00
PSISP
e5094b440c
Merge pull request #290 from refractionpcsx2/mfifo_fix_2
Fix MFIFO END tag handling
Implement 32-bit VIF FIFO writes
2020-02-08 17:48:41 -05:00
refractionpcsx2
35971e7bc2 Fix MFIFO END tag handling
Implement 32bit VIF FIFO writes
2020-02-08 22:42:36 +00:00
dakotachasesmith
2d64429d71 Change EE_InstrInfo's cycles_after, cycles_before properties to uint32_t 2020-02-08 03:54:49 -10:00
dakotachasesmith
81ccdd462e Cleanup EE_JitTranslator::load_store_analysis, fix bug with dual-issued instructions in LS
A bug existed wherein the second of a pair of dual-issued instructions would have their cycles_before erroneously incremented, this has been resolved.
2020-02-08 03:41:16 -10:00
dakotachasesmith
5fa27437ca [EE IR] Optimize setting the cycle counts for instructions in Load Store analysis 2020-02-08 03:08:10 -10:00
dakotachasesmith
f27fb88b76 Change JIT_MAX_BLOCK_LITERALSIZE to 1 MB 2020-02-07 12:48:40 -10:00
dakotachasesmith
f08a60a84f Add latency of 2 to MTC1, MFC1, LWC1 2020-02-07 12:48:07 -10:00
dakotachasesmith
63cfcddbfb Flush JIT cache on ExecPS2 syscall 2020-02-06 13:09:21 -10:00
PSISP
645e427050
Merge pull request #284 from refractionpcsx2/vu_fixes_3
Fix Q Pipe delay on VU JIT
2020-02-06 16:22:36 -05:00
refractionpcsx2
f97b8525bc
Fix GS JIT alpha blending issue (#286) 2020-02-06 14:23:03 -05:00
PSISP
6cc3eab3f5
Merge pull request #285 from refractionpcsx2/gs_trans_fix
GS: Fix source_y
2020-02-05 21:23:30 -05:00
refractionpcsx2
0f4ec8c230 Fix source_y for GS Transfers 2020-02-05 22:19:50 +00:00
refractionpcsx2
973c40b9f2 Fix Q Pipe delay on VU JIT
Add some masking to VU JIT
Fix Flag opts on VU JIT for MAC flags when the last position is a NOP
Fix interpreter fallbacks when testing VU JIT lower instructions
2020-02-05 21:21:48 +00:00
dakotachasesmith
793e69a08b Return true if we don't return false in dual issue analysis, properly clear latencies of 1 after dual issue when checking dependencies 2020-02-04 17:43:43 -10:00
dakotachasesmith
1b52066bb1 Don't add a cycle bias to LQC2, SQC2 operations 2020-02-04 16:35:05 -10:00
dakotachasesmith
91c3a52495 Merge branch 'master' into dependency 2020-02-04 14:15:50 -10:00
PSISP
1ff3712b68
Merge pull request #283 from refractionpcsx2/gs_finish
GS: Fix FINISH requests
2020-02-04 19:12:55 -05:00
refractionpcsx2
eb132cfa45 Fix FINISH requests 2020-02-04 23:01:56 +00:00
dakotachasesmith
fb8ae9494b First dual issued instruction has correct cycle count after execution in EE, changes to load_store cycle analysis for precision 2020-02-04 01:51:23 -10:00
dakotachasesmith
998b40783c [EE_JIT64] Fallback on lqc2, sqc2 2020-02-04 00:56:19 -10:00
dakotachasesmith
fcd44f2194 Avoid counting EE cycles twice when encounting COP2 ops on JIT 2020-02-03 15:23:37 -10:00
dakotachasesmith
d737f4423b Change ull literal to (uint64_t) cast for gcc compatibility 2020-02-03 14:46:29 -10:00
dakotachasesmith
db764a2193 Remove cycle_count_now, have cycle_count represent the running cycle total for EE 2020-02-03 14:41:29 -10:00
dakotachasesmith
88202fb2c2 Change EE_InstrInfo::Pipeline to inherit from uint16_t and not uint8_t 2020-02-03 13:35:49 -10:00
dakotachasesmith
1852d4dccc Subtract cycles_to_run as 32-bit variable 2020-02-03 01:32:52 -10:00
dakotachasesmith
5e4184e205 Increment EE cycle count when spinning while waiting for VU0 2020-02-03 01:14:19 -10:00
dakotachasesmith
c46e1a338a use cycle_count_now in VectorUnit::start_program 2020-02-03 00:08:09 -10:00
dakotachasesmith
50444ea398 Properly update cycle counts on EE interpreter 2020-02-03 00:02:58 -10:00
dakotachasesmith
4bdc1969c2 EE cycle count tweaks, changes to JIT to prevent JIT from hanging if waiting for VU when interrupt happens 2020-02-03 00:02:58 -10:00
dakotachasesmith
2e196c205f Fix new dispatcher not comparing flags correctly, not jumping to looked up block 2020-02-03 00:02:58 -10:00
dakotachasesmith
9f02b668ca Update cycle_count_now when EE JIT block exits 2020-02-03 00:02:58 -10:00
dakotachasesmith
299725541d Decrease code size of JIT dispatcher 2020-02-03 00:02:58 -10:00
dakotachasesmith
7d2c7d5bda [EE_JIT64] Optimize GPR flushing, branch operations 2020-02-03 00:02:58 -10:00
dakotachasesmith
63e5d0fc92 Slight optimizations to eejit branch likely, waitvu0, checkinterlock 2020-02-03 00:02:57 -10:00
dakotachasesmith
6199843afa VU0 reads correct cycle_count from EE, update cycle counts properly on early exit from JIT 2020-02-03 00:02:57 -10:00
dakotachasesmith
53cb30a556 Add throughput cycle analysis 2020-02-02 23:09:27 -10:00
dakotachasesmith
1c36f46382 Change handling of cycles again to correctly account for differences in cycles at beginning of block for dependencies 2020-02-02 23:09:27 -10:00
dakotachasesmith
a44be7311a Better handling of cycle counts in IR analysis (will mostly benefit blocks that end on COP2) 2020-02-02 23:09:27 -10:00