Commit Graph

370 Commits

Author SHA1 Message Date
Anthony Pesch 8f5bae8121 updated clang versions, reformatted 2015-10-31 07:14:32 -07:00
Anthony Pesch 954bc5f06c splitting up segfault_handler 2015-10-25 07:45:00 -07:00
George Hilios 1b897bfcce misc gcc compilation fixes 2015-10-21 22:10:33 -07:00
Anthony Pesch 758328e063 forward declare as much as possible inside of Dreamcast 2015-10-18 22:17:48 -07:00
Anthony Pesch 0cd8a02aa6 basic posix virtual tty support 2015-10-18 16:28:14 -07:00
Anthony Pesch ade70b4c32 refactored SegfaultHandler singleton 2015-10-17 17:01:02 -07:00
Anthony Pesch bff679dead refactoring of gl context creation 2015-10-17 14:14:28 -07:00
Anthony Pesch dcc59ade2d renamed system 2015-10-17 00:40:10 -07:00
Anthony Pesch cf7586381c rename keys 2015-10-17 00:35:35 -07:00
Anthony Pesch 95bfa7d6f8 renamed SIGSEGVHandler 2015-10-17 00:25:07 -07:00
Anthony Pesch 7bd24dddb1 use crtp instead of virtual methods for intrusive tree augment methods 2015-10-15 01:04:35 -07:00
Anthony Pesch 0f995335c0 split up fs implementation 2015-10-14 23:20:06 -07:00
Anthony Pesch bf7d695bfb added sh4 instruction print support 2015-10-14 00:52:11 -07:00
Anthony Pesch f9071ed52a remove scheduler timers. the current timers can be manually timed and ran from inside of each device's Run method, without the need for the sorted timer set
step scheduler at 1000hz, render frames at 60hz
add cpu speed percentage
2015-10-11 14:35:09 -07:00
Anthony Pesch 87ae049e8a reenable signal based texture invalidation 2015-10-10 15:22:49 -07:00
Anthony Pesch 8fca5e249a gcc fixes 2015-10-10 15:22:48 -07:00
Anthony Pesch f44e2d9718 mmap the entire 32-bit address space
cross-platform shared memory support
backpatch emitted loads / stores on x64 to use slow handlers if need be
added range iterator support to interval tree
2015-10-10 15:22:48 -07:00
Anthony Pesch ad3435a720 added back sigsegv handler 2015-10-10 15:22:48 -07:00
Anthony Pesch 99c19a05e9 use default block to avoid expensive branch prediction penalties when
getting blocks from the cache
2015-10-10 15:22:48 -07:00
Anthony Pesch 0f5ce009b9 disable wpo on msvc 2015-10-10 15:22:48 -07:00
Anthony Pesch 4308e570e5 simplify sh4 execute loop 2015-10-10 15:22:46 -07:00
Anthony Pesch 51eb95e184 replace virtual RuntimeBlock::Call method with function pointer so x64
blocks can be invoked directly
2015-10-10 15:22:30 -07:00
Anthony Pesch 5915f852c6 don't reorder arguments to x64 functions 2015-10-10 15:22:23 -07:00
Anthony Pesch 17274fe815 allocate x64 block structures in the code buffer for better data locality 2015-09-28 11:27:19 -07:00
Anthony Pesch 1265209ab6 only push / pop callee-saved registers that are modified 2015-09-28 11:26:10 -07:00
Anthony Pesch 5b3aad63b3 refactor SRUpdated / FPSCRUpdated, no more sr != old_sr check required in CheckPendingInterrupts 2015-09-27 19:40:02 -07:00
Anthony Pesch 23d32ee79b more aggressive optimization flags for msvc 2015-09-27 19:35:07 -07:00
Anthony Pesch 8f844a82d3 use raw pointers for block cache 2015-09-27 16:10:08 -07:00
Anthony Pesch 2bf1ad0122 don't blow out stack with TraceViewer object 2015-09-27 03:37:24 -07:00
Anthony Pesch 334a76fea5 don't destroy gl resources if initialization failed 2015-09-27 03:23:45 -07:00
Anthony Pesch 2cb63d3851 msvc fixes 2015-09-27 01:57:26 -07:00
Anthony Pesch 2787e3e5eb remove std::bind usage from dynamic memory handlers, overhead accounted for ~1ms of frame time 2015-09-26 20:42:40 -07:00
Anthony Pesch bb5ec14d47 optimize div1 2015-09-26 14:59:59 -07:00
Anthony Pesch 4a49b89439 optimize addc/addv and subc/subv 2015-09-26 12:17:34 -07:00
Anthony Pesch ff67901d43 added new sdiv test 2015-09-26 00:11:11 -07:00
Anthony Pesch ea9d00cc27 synchronize interpreter / x64 backend design 2015-09-24 23:01:44 -07:00
Anthony Pesch d05130bf6b merge sh4_builder.cc and sh4_emit.cc 2015-09-24 20:40:51 -07:00
Anthony Pesch 88b680f28a don't reparse poly parameters between tri strips reusing the same global parameters 2015-09-24 16:41:21 -07:00
Anthony Pesch e8fd5c7367 use hsl for generating profile group colors 2015-09-24 15:03:24 -07:00
Anthony Pesch bf699aa8aa align load / store ops for spilled locals 2015-09-24 01:06:02 -07:00
Anthony Pesch 01233f03e6 new name for redundant load/store elimination pass 2015-09-22 15:44:54 -07:00
Anthony Pesch 07a1156eb5 convert interval tree from using a randomized bst to a red-black tree 2015-09-21 23:11:11 -07:00
Anthony Pesch 0d455e710a removed sigsegv handler, after profiling the overhead in querying the interval tree on each PVR write isn't significant enough to warrant the added complication
invalidate textures on palette writes
2015-09-18 20:57:18 -07:00
Anthony Pesch 265369f864 track number of write watches with microprofile 2015-09-17 20:57:37 -07:00
Anthony Pesch 76e4a96689 fix compilation errors under -Wall -Wextra -Werror and /W3 2015-09-17 16:27:45 -07:00
Anthony Pesch 33e8fddbf8 updated microprofile version 2015-09-17 16:27:45 -07:00
Anthony Pesch 255d429cc0 add missing header for sh4_emit.cc 2015-09-17 16:27:17 -07:00
Anthony Pesch 049dbfce4b system -> sys 2015-09-17 11:14:43 -07:00
Anthony Pesch 40b81ad57c moved sigsegv / filesystem code into system 2015-09-17 11:14:43 -07:00
Anthony Pesch 3897fe557f invalidate textures through process signals 2015-09-17 11:14:39 -07:00