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