Commit Graph

1079 Commits

Author SHA1 Message Date
Anthony Pesch ac82825cb5 moved imgui code up into host to prepare for frontend 2017-09-01 01:13:56 -04:00
Anthony Pesch ddf764977a code defensively as libretro will call retro_unload_game even if retro_load_game has not been called 2017-08-31 21:14:11 -04:00
Anthony Pesch 3e88f043ca cache off IP.BIN meta data in disc_create 2017-08-31 21:06:07 -04:00
Anthony Pesch 26cfcc14fe make audio low water mark equal to half the buffer size
rename audio_available_frames to audio_buffered_frames
2017-08-31 20:54:11 -04:00
Anthony Pesch 0a14b4dafa rename region from america to usa to match area symbols 2017-08-31 20:52:14 -04:00
Anthony Pesch 8f4ec83118 updated to latest libchdr 2017-08-27 11:14:07 -04:00
Anthony Pesch e75b449944 fix for fs_basename / fs_dirname when operating on paths with mixed separators on Windows 2017-08-26 11:46:27 -04:00
Anthony Pesch fe0dcf4d6d automatically select bios region based on disc's supported regions 2017-08-25 16:20:24 -04:00
Anthony Pesch 6b77942ee4 synchronize disassembly formats 2017-08-24 18:39:49 -04:00
Anthony Pesch 427e5d64f7 assert branch is last instruction in ir block 2017-08-24 18:39:49 -04:00
Anthony Pesch 45695ce3e0 add support for directly branching to blocks in the same ir unit add jit_create_entry_points 2017-08-24 18:39:47 -04:00
Anthony Pesch d26a30a857 convert BRANCH_FALSE / BRANCH_TRUE to single BRANCH_COND 2017-08-24 18:39:19 -04:00
Anthony Pesch fa05cbcf6c assert run-time FPSCR state matches compile-time assumptions 2017-08-24 18:39:18 -04:00
Anthony Pesch 1a9d91d94b relax idle loop detection check 2017-08-23 19:25:02 -04:00
Anthony Pesch a80dc048a6 added initial unoptimized bitmap code
made list_empty take a const pointer
2017-08-20 23:28:49 -04:00
Anthony Pesch 9092471120 when eliminating stores, don't look for an exact match, just look to
see if any combination of entries covers the entire access range

moved partial invalidation check to lse_get_available itself, making
lse_erase_available's logic more straight forward
2017-08-20 23:28:49 -04:00
Anthony Pesch f6827af92c move inLocalLabel / outLocalLabel calls inside exception handler or else they will subsequently error if the buffer overflows, aftet the exception is handled 2017-08-20 23:28:49 -04:00
Anthony Pesch c066204038 fix bitrot in recc
fixed deserializing VALUE_BLOCK arguments
2017-08-20 23:28:44 -04:00
Anthony Pesch f91c4f9d3b reenabled control flow analysis pass 2017-08-20 23:28:44 -04:00
Anthony Pesch 357a210c79 replace MAX_OFFSET with IR_MAX_CONTEXT 2017-08-17 20:18:02 -04:00
Anthony Pesch 9c15879c30 refactor invalidate_reason field to be a more generic state field 2017-08-14 11:59:00 -04:00
Anthony Pesch 5753a5c193 remove old extended basic block related optimizations 2017-08-14 11:49:05 -04:00
Anthony Pesch 482c74211a don't emit OP_SOURCE_INFO for delay slots 2017-08-13 23:17:23 -04:00
Anthony Pesch b5a6b842b1 added debug code for encoding guest instruction addresses in emitted code 2017-08-13 14:51:58 -04:00
Anthony Pesch ba4e665a60 fix bitrot in interpreter backend 2017-08-13 14:51:54 -04:00
Anthony Pesch d9d8d14a6c don't commit the entire 4gb address space on Windows 2017-08-13 00:19:12 -04:00
7oxicshadow 0d59e0baf8 multi vmu support 2017-08-12 23:33:12 -04:00
Anthony Pesch c47e5dba10 add jit_emit_cb interface to assemble_block
add guest / host code to ir output
2017-08-12 00:52:17 -04:00
7oxicshadow 81c87fc838 added support for persistent debug menu toggle
added support for persistent fullscreen toggle
2017-08-12 00:44:17 -04:00
Anthony Pesch 5d844c5092 replace jit_block pointer with addr / size as arguments to dump_code and translate_code 2017-08-12 00:44:17 -04:00
Anthony Pesch d3946809a0 remove block branch information and idle loop information from jit_block 2017-08-11 16:29:34 -04:00
Anthony Pesch 15256b3a3e move fastmem handling out of frontend 2017-08-11 11:14:26 -04:00
Anthony Pesch ee2adad549 reset register state during ra, not at ir creation time 2017-08-11 00:26:47 -04:00
Anthony Pesch bdd4414bb1 encode num_cycles in ir 2017-08-10 19:19:16 -04:00
Anthony Pesch 71a9e66940 remove binary tree lookup from jit_handle_exception 2017-08-10 19:19:16 -04:00
Anthony Pesch e8a44045e5 add comment support to ir
add file parameter to dump_block functions
2017-08-10 19:19:15 -04:00
Anthony Pesch 7603e20773 attempt to fix OSX CI builds 2017-08-10 17:08:27 -04:00
Anthony Pesch a546ed04ff added ir_get_meta / ir_set_meta 2017-08-10 17:08:27 -04:00
Anthony Pesch 47bb023092 initial hashtable implementation 2017-08-10 17:08:27 -04:00
Anthony Pesch 97ca2dd80c uppercase align_up / align_down macros 2017-08-10 17:08:27 -04:00
Anthony Pesch b686efaef9 fixed libretro build
updated to latest libchdr
2017-08-10 17:08:26 -04:00
Anthony Pesch 68e2cb47dd rename array_size to ARRAY_SIZE 2017-08-10 17:08:26 -04:00
Anthony Pesch b7d48e68f7 removed list_sort 2017-08-10 17:08:26 -04:00
Anthony Pesch 7b0b47a641 remove VALUE_STRING 2017-08-10 17:08:26 -04:00
Anthony Pesch 648041696f fixed bitrot in recc
removed armv3 software interrupt callback
removed circular dependency between jit <-> x64_dispatch
2017-08-10 17:08:26 -04:00
Anthony Pesch 89541723f7 convert to integer based labels in ir_read / ir_write 2017-08-10 17:08:25 -04:00
Anthony Pesch 2364f9d764 don't use inLocalLabel / outLocalLabel for BRANCH_FALSE / BRANCH_TRUE
move x64_backend_block_label into x64_local.h
2017-08-10 17:08:03 -04:00
Anthony Pesch 447208f9bb add ir_split_block
don't try to be clever and manage the current instruction point in ir_remove_block
2017-08-10 17:08:02 -04:00
Anthony Pesch a3b5d35c22 disable widescreen patches by default 2017-07-31 10:20:54 -04:00
Anthony Pesch 37974d0073 raise sh4 exception on illegal instruction 2017-07-30 12:12:45 -04:00