Anthony Pesch
aacd2bff96
fix issue where data is fetched before ea is calculated in movbm, movwm and movlm instructions
2017-07-01 16:25:40 -04:00
Anthony Pesch
5540d33cf4
fixed carry flag calculation in negc op
...
added more tests for negc
sanitize bits stored in SR just as they are in FPSCR
removed unneeded disp_pc struct in sh4_instr union
emits calls to invalid_instr callback for INVALID ops
2017-05-16 00:00:02 -04:00
Anthony Pesch
c703da40f7
added sh4 interpreter
...
added OP_FLUSH_CONTEXT
fixed bug in ldcsr now that the GPRs are properly flushed when a bank change occurs
2017-05-14 23:26:36 -04:00
Anthony Pesch
64c1884f2f
ignore post-increment in SH4 memops when rm == rn, the store will overwrite
2016-12-23 22:55:52 -08:00
Anthony Pesch
646fd314f5
fix for test_ldcl_stcl_sr
2016-12-17 16:20:30 -08:00
Anthony Pesch
28533002af
jit c refactor
2016-06-04 14:21:15 -07:00
Anthony Pesch
898e4001f4
use avx instructions
2016-04-06 22:18:44 -07:00
Anthony Pesch
05388bca6f
split up int / float IR ops
...
added support for fcnvsd and fcnvds
2016-03-23 18:45:47 -07:00
Anthony Pesch
d234f630f1
make Instr inherit from value, removing result property
...
updated register allocation to account for the fact that the result is no longer a part of the reference set
added basic dead code elimination pass
2016-03-23 00:54:24 -07:00
Anthony Pesch
112c421b81
added a hack to get PoP booting further
2016-03-05 02:34:58 -08:00
Anthony Pesch
d16aac170a
end blocks on SR store
...
remove broken IF_INVALIDATE_CONTEXT
2016-02-12 17:28:38 -08:00
Anthony Pesch
72b5edbeba
replaced horribly broken 64-bit float implementation
2016-02-12 17:28:38 -08:00
Anthony Pesch
f457e8e9d8
added OP_LOAD_HOST and OP_STORE_HOST for directly accessing host memory
...
added lookup table for fsca
removed sin, cos ir ops
2016-02-12 17:28:37 -08:00
Anthony Pesch
a08f110658
simplified sh4 test generation and execution
2015-12-05 19:56:41 -08:00
Anthony Pesch
bb5ec14d47
optimize div1
2015-09-26 14:59:59 -07:00
Anthony Pesch
ff67901d43
added new sdiv test
2015-09-26 00:11:11 -07:00
Anthony Pesch
24ce88fb00
update assembly tests to support nested test cases
2015-09-07 15:49:11 -07:00
Anthony Pesch
ecc0a6c7ac
massive refactoring, replaced Emulator class with Dreamcast class. instead of passing around individual components to each system, the new Dreamcast object has public getters for each (holly, pvr, video ram, etc.)
2015-09-04 22:53:36 -07:00
Anthony Pesch
d14282b225
use FPU state when emitting IR
2015-08-13 15:57:22 -07:00
Anthony Pesch
5a0642d0a5
don't reuse IR values across blocks
2015-08-12 23:41:31 -07:00
Anthony Pesch
01af271550
initial public commit
2015-07-01 10:45:31 -07:00