Commit Graph

43 Commits

Author SHA1 Message Date
Ben Vanik
08cff81f6a HIR->LIR flow. 2013-12-29 23:51:51 -08:00
Ben Vanik
63f11732a5 Wiring up the LIR flow. 2013-12-29 22:05:41 -08:00
Ben Vanik
3d01efffac LIR skeleton, renaming some types to prevent conflict. 2013-12-29 14:28:46 -08:00
Ben Vanik
6b17ead43b Minor tweaks. 2013-12-28 19:48:02 -08:00
Ben Vanik
5a6184c07a Fixing vsldoi. I'll likely need to reverse all of these back later. 2013-12-28 08:42:38 -08:00
Ben Vanik
5bc74313e3 Fixing broken instruction offsets on block splits. 2013-12-27 15:00:34 -08:00
Ben Vanik
7002a3bd57 Adding implicit branches to ensure flow control remains legit. 2013-12-26 19:00:52 -08:00
Ben Vanik
e8cafa21b9 Dumping symbol names. 2013-12-25 23:21:35 -08:00
Ben Vanik
1b533d8c2b Fix for accidentally including rest fns as branches. 2013-12-25 23:15:57 -08:00
Ben Vanik
76be00dfdf Fiddling. 2013-12-25 21:58:40 -08:00
Ben Vanik
e07ced0f00 Making address calculation shared and (maybe) fixing it. 2013-12-25 21:33:15 -08:00
Ben Vanik
abc5aac7ee Removing unused code, via jdarpinian. 2013-12-25 20:57:07 -08:00
Ben Vanik
98efc7ddfa Suspend/resume working. 2013-12-23 19:46:35 -08:00
Ben Vanik
475ddc1fcf Breakpoint hits reaching all the way to UI.
Nasty json only hackery right now, but fixable to support other protocols.
2013-12-23 14:01:13 -08:00
Ben Vanik
31b8c02cbf Breakpoints triggering. 2013-12-22 23:04:24 -08:00
Ben Vanik
d861ef8aab Prettier ppc disasm. 2013-12-22 13:06:15 -08:00
Ben Vanik
de6dc92663 Only generate debug info when in --debug mode (or asked). 2013-12-22 09:50:31 -08:00
Ben Vanik
c92142ca02 Displaying (unformatted) function code. 2013-12-22 09:25:44 -08:00
Ben Vanik
417a970aab Various fixes. 2013-12-15 13:58:40 -08:00
Ben Vanik
88cdb9e36c Replacing store vector left/right opcodes by just using permutes. 2013-12-15 11:58:54 -08:00
Ben Vanik
8af24ab9bb Fixing vrlimi128 2013-12-14 09:27:34 -08:00
Ben Vanik
c9adf893a6 Fixing a bunch of vector ops. 2013-12-14 08:47:36 -08:00
Ben Vanik
21d1e7236b Fixing permute functions. 2013-12-14 06:24:29 -08:00
Ben Vanik
a1f41c656a stve*x 2013-12-13 22:24:19 -08:00
Ben Vanik
d1210218ac Comment fixes. 2013-12-13 21:20:01 -08:00
Ben Vanik
69704853a3 Special casing sldi. 2013-12-13 20:11:04 -08:00
Ben Vanik
689de0279f Swapping bytes. Probably still wrong. 2013-12-08 23:33:40 -08:00
Ben Vanik
eb2d596c27 srawx, vsldoi, vupkd3d of D3DCOLOR -- all untested 2013-12-08 23:15:05 -08:00
Ben Vanik
ccd5346332 LOAD/STORE_VECTOR_LEFT/RIGHT. It'd be nice not to have these. 2013-12-08 22:16:37 -08:00
Ben Vanik
b9df6dc703 load_vector_sh* 2013-12-08 20:58:24 -08:00
Ben Vanik
2e5489e22f Making the trace format easier to diff with the old stuff. 2013-12-08 20:42:12 -08:00
Ben Vanik
7c4b2c6d23 sradi, which was totally wrong before o_o 2013-12-08 15:24:18 -08:00
Ben Vanik
7adc122620 No-op MSR instructions. 2013-12-08 14:31:19 -08:00
Ben Vanik
2549292a57 Return address handling. Not happy with the design, but it (sorta) works. 2013-12-08 13:58:57 -08:00
Ben Vanik
dc0848f7ba rld* 2013-12-08 13:58:15 -08:00
Ben Vanik
28ff739449 Better nop handling. 2013-12-08 13:17:50 -08:00
Ben Vanik
50f53a483e How did this ever work? Fixing and*. 2013-12-08 12:25:48 -08:00
Ben Vanik
e2e2a392ee Scanner now picks up restgprlr calls. 2013-12-08 11:26:43 -08:00
Ben Vanik
3b268f07ef Basic constant propagation. 2013-12-07 05:52:51 -08:00
Ben Vanik
329b554c7a Basic ContextPromotionPass and some opcode info rearranging. 2013-12-07 04:39:48 -08:00
Ben Vanik
51d0be0f0a Basic DCE pass. 2013-12-07 02:18:26 -08:00
Ben Vanik
c2113c116d Starting compiler work. Adding pass TODOs. 2013-12-07 01:36:13 -08:00
Ben Vanik
fdb6a5cfa3 Initial Alloy implementation.
This is a regression in functionality and performance, but a much better
foundation for the future of the project (I think). It can run basic
apps under an SSA interpreter but doesn't support some of the features
required to do real 360 apps yet.
2013-12-06 22:57:16 -08:00