Commit Graph

19 Commits

Author SHA1 Message Date
Ben Vanik
70a9a1053e The previous truncation was useless. 2013-05-23 13:16:39 -07:00
Ben Vanik
89672e111d Optimizing memory accesses a bit by letting libjit use relative addressing. 2013-05-23 11:46:26 -07:00
Ben Vanik
730dba4aea Adding addzex. 2013-05-23 02:13:04 -07:00
Ben Vanik
d6f2a0b3f0 Adding --trace_branches.
Simple output right now, can always be enhanced.
2013-05-23 01:31:41 -07:00
Ben Vanik
1a01d365b5 Making code dumps conditional on --log_codegen 2013-05-22 22:01:34 -07:00
Ben Vanik
fcb66660c0 (partial) addx and logging compiled addresses. 2013-05-22 21:53:21 -07:00
Ben Vanik
5cb8cf2630 Hacky ALU ops. Need overflow checks. 2013-05-22 21:14:16 -07:00
Ben Vanik
9ed911cdad Fixing comparisons and disabling OutputDebugString logging. 2013-05-22 21:11:27 -07:00
Ben Vanik
2d01dced5a Adding back invalid instruction logs. 2013-05-22 20:58:48 -07:00
Ben Vanik
f2c16c24f3 Basic control instructions (no indirection branches yet). 2013-05-22 20:15:04 -07:00
Ben Vanik
1bcb3e8f92 Many more ALU instructions. 2013-05-22 18:51:06 -07:00
Ben Vanik
64b619023d Adding back in quite a few instructions. 2013-05-22 18:03:43 -07:00
Ben Vanik
c0dd60bde8 Adding memory access/etc.
Needs byte swapping.
2013-05-22 15:02:26 -07:00
Ben Vanik
7227ba2693 Setting up register fill/spill. 2013-05-22 13:37:44 -07:00
Ben Vanik
16d2b73a73 Main codegen loop now running through instructions. 2013-05-22 13:10:07 -07:00
Ben Vanik
dad99769cb Prepping for basic block generation. 2013-05-22 11:53:52 -07:00
Ben Vanik
33e2bc01ee Kernel call thunks and cleanup on exports. 2013-05-22 11:30:53 -07:00
Ben Vanik
37f93d2974 Calling to/from native works! 2013-05-22 11:13:27 -07:00
Ben Vanik
85804f7415 Initial libjit skeleton.
Not currently generating instructions, but most of the flow is right up to
that point. A lot of work required to refactor the emitter, but wanted to
get this checked in.
2013-05-21 15:36:58 -07:00