Commit graph

18 commits

Author SHA1 Message Date
Ben Vanik 59ccfdd999 Read and write map files. 2013-02-03 03:34:43 -08:00
Ben Vanik b6a9dfe7e0 Tweaking output. 2013-02-01 00:21:59 -08:00
Ben Vanik f78fdba9c3 Wiring up xex loading via the new virtual filesystem.
File resolution is hacked, but works well enough for testing.
2013-01-31 16:52:50 -08:00
Ben Vanik ae4d8ad40e Code fixes to get things somewhat compiling on Windows. 2013-01-30 01:35:08 -08:00
Ben Vanik 6c4af5aa70 Kernel calls and variables now working and tracing better. 2013-01-28 12:36:39 -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 12d9c3d15e First instruction executed in the test runner!
Fixes #7.
2013-01-27 17:49:32 -08:00
Ben Vanik bba99d4a22 Refactoring to allow for raw binary loading. 2013-01-27 12:48:10 -08:00
Ben Vanik d9b08f569f Adding a bunch of instructions. 2013-01-26 21:51:31 -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 47481fecf7 Adding tracing methods. 2013-01-24 00:10:24 -08:00
Ben Vanik 385a4ee23b Cleaning up function creation. 2013-01-23 22:38:59 -08:00
Ben Vanik a10a05b6f2 Misc output cleanup and a test run script. 2013-01-23 21:59:26 -08:00
Ben Vanik 860a0739ec Adding gflags to handle command line flags.
It sucks, but is the best there is without using boost.
2013-01-23 21:31:23 -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 791f14182c Fixing a bunch of valgrind errors and reworking globals. 2013-01-21 14:31:59 -08:00
Ben Vanik 95a8be078b Rearranging code a bit to keep things cleaner. 2013-01-21 10:58:52 -08:00
Renamed from src/cpu/codegen.cc (Browse further)