Ben Vanik
9c86c29140
Setting up locals in codegen based on disassembly results.
2013-01-29 17:47:34 -08:00
Ben Vanik
d1333db404
Disassembly for implemented control/memory instructions.
2013-01-29 01:55:03 -08:00
Ben Vanik
5c2060af72
Now running up to the first required kernel call.
...
If memory address validation is turned off it runs a lot further.
2013-01-28 03:03:37 -08:00
Ben Vanik
46d5a0b51d
Executing a bunch of instructions!
...
Very hacky module startup code, but can now start XEXs! Time to start
implementing kernel stuff.
2013-01-27 22:14:24 -08:00
Ben Vanik
d9b08f569f
Adding a bunch of instructions.
2013-01-26 21:51:31 -08:00
Ben Vanik
733fe85d37
Cleaning up function registers and setting up CR.
2013-01-26 01:25:31 -08:00
Ben Vanik
9b3d96a8ae
Cleaning up instruction decoding names to match the docs better.
2013-01-25 23:45:13 -08:00
Ben Vanik
dcb958de54
Adding better register tracking through locals and fixing branches.
...
LLVM does an amazing job of optimizing this. There are many opportunities
to make it better, too, by preventing spilling where not required or only
spilling/filling things when needed.
2013-01-25 00:32:42 -08:00
Ben Vanik
91f9e8b7bb
Generating a lot of code!
...
Still a few missing instructions/variants and other issues, but a big and
valid LLVM module is being generated.
2013-01-22 00:22:27 -08:00
Ben Vanik
b29dd22850
Adding instruction emitting functions.
...
All empty, all ready to go!
2013-01-21 11:55:42 -08:00