Commit Graph

15 Commits

Author SHA1 Message Date
Julian Seward
13c3ab567e Start to move files into a new structure.
git-svn-id: svn://svn.valgrind.org/vex/trunk@47
2004-07-04 18:21:14 +00:00
Julian Seward
1065db090a * Take into account register classes when assigning spill slots.
* When doing V-V move coalescing, handle case when src is spilt.


git-svn-id: svn://svn.valgrind.org/vex/trunk@45
2004-07-03 19:44:54 +00:00
Julian Seward
87180d0510 * Move the x86 genSpill/genRestore functions to the right place.
* Allow HInstrArray to record the number of vregs in the instrs
  in the array.


git-svn-id: svn://svn.valgrind.org/vex/trunk@44
2004-07-03 19:08:18 +00:00
Julian Seward
5bf98b642c Add prototype for isMove_X86Instr.
git-svn-id: svn://svn.valgrind.org/vex/trunk@42
2004-07-03 14:51:44 +00:00
Julian Seward
f11b3e0c6c Make reg allocator work, to a first approximation at least.
git-svn-id: svn://svn.valgrind.org/vex/trunk@38
2004-07-03 13:30:00 +00:00
Julian Seward
853453b46a Tie everything together enough so the reg-allocator can be test-run.
git-svn-id: svn://svn.valgrind.org/vex/trunk@35
2004-07-02 15:20:40 +00:00
Julian Seward
54fd67ade9 Add getRegUsage and mapRegs functions for X86 instructions. Tedious.
git-svn-id: svn://svn.valgrind.org/vex/trunk@34
2004-07-02 13:45:17 +00:00
Julian Seward
1a166d65f3 Complete reg-alloc output storage, and misc other stuff to make it
compile and link.


git-svn-id: svn://svn.valgrind.org/vex/trunk@32
2004-07-02 07:09:23 +00:00
Julian Seward
a5cbbe556f Get the register allocator a lot closer to compiling.
git-svn-id: svn://svn.valgrind.org/vex/trunk@31
2004-07-01 23:14:42 +00:00
Julian Seward
29a240becb Support stuff for register allocation.
git-svn-id: svn://svn.valgrind.org/vex/trunk@28
2004-07-01 18:30:32 +00:00
Julian Seward
ce9eeea10a Try to get x86 instruction representation to something sane, and fix
up the selector accordingly.



git-svn-id: svn://svn.valgrind.org/vex/trunk@27
2004-06-30 16:37:16 +00:00
Julian Seward
a8fcb7fa02 First draft of tree-based instruction selector.
git-svn-id: svn://svn.valgrind.org/vex/trunk@26
2004-06-30 09:28:04 +00:00
Julian Seward
8b1698d21e Redo IR data structures using tagged unions.
git-svn-id: svn://svn.valgrind.org/vex/trunk@25
2004-06-27 10:42:44 +00:00
Julian Seward
d9692d86e5 Move to a new home.
git-svn-id: svn://svn.valgrind.org/vex/trunk@22
2004-06-27 01:04:30 +00:00
Julian Seward
65e80c8a06 Add basic storage management.
git-svn-id: svn://svn.valgrind.org/vex/trunk@20
2004-06-26 20:10:35 +00:00