Commit graph

1374 commits

Author SHA1 Message Date
Quentin Carbonneaux
7c92b5a0c4 trivial bugs 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
fc814c5873 attempt to complete the crappy parser 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
a9d8bf7a2d change references representation 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
762330d6fa try writing a parser, painful 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
bab23d801e change name of test file 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
fae1b41e9d some new C 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
fd55a09b7f add an untracked directory 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
6449bb6244 bugfix in regalloc (Div,Rem) and in peucl 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
4e3c5bf89c attempt to implement euclide algorithm 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
93ca9b1152 restore addition in test 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
df642dc07a generate code for the division 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
dd20e7c180 reserve edx in all cases for divisions 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
7ab237d8ed more cleaning 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
11590df736 add gitignore 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
44346e249c fix code emitting for x = y op x 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
379fb0df97 fix addition opcodes 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
5719df3ae4 do a bigger test computation 2015-09-15 23:01:26 -04:00
Quentin Carbonneaux
f23cd2882d compile tmain with optimizations 2015-09-15 23:01:26 -04:00
Quentin Carbonneaux
209a80bb66 run multiple rounds for stable timing 2015-09-15 23:01:26 -04:00
Quentin Carbonneaux
ff14ce3197 quiet 2015-09-15 23:01:26 -04:00
Quentin Carbonneaux
e84528359c time execution 2015-09-15 23:01:26 -04:00
Quentin Carbonneaux
25528786d8 cosmetics 2015-09-15 23:01:26 -04:00
Quentin Carbonneaux
20df24da75 cleanup overflow computation 2015-09-15 23:01:26 -04:00
Quentin Carbonneaux
0aa0002337 fix spill code 2015-09-15 23:01:26 -04:00
Quentin Carbonneaux
cd75608a54 add `Ret jump and dump elf files 2015-09-15 23:01:26 -04:00
Quentin Carbonneaux
a72705c343 remove default tests in Elf 2015-09-15 23:01:26 -04:00
Quentin Carbonneaux
34ffd36a0c add popd in the Heap module 2015-09-15 23:01:26 -04:00
Quentin Carbonneaux
d1cb824564 add simple Makefile 2015-09-15 23:01:26 -04:00
Quentin Carbonneaux
c89853497a write down some more ideas 2015-04-04 19:42:54 -04:00
Quentin Carbonneaux
6c64119f55 do not freeze r when allocating for r2 2015-04-01 09:30:00 -04:00
Quentin Carbonneaux
3ca7d9849b update TODO with fix commit 2015-03-31 17:59:13 -04:00
Quentin Carbonneaux
bb9c5e7835 tentative fix of messed up spills for phis 2015-03-31 17:58:27 -04:00
Quentin Carbonneaux
f00bc00ed6 add bugs 2015-03-31 16:02:53 -04:00
Quentin Carbonneaux
b330009493 avoid evicting arguments 2015-03-31 16:00:25 -04:00
Quentin Carbonneaux
868667ea27 add move constant to spill 2015-03-31 13:51:00 -04:00
Quentin Carbonneaux
6d6b1ef4b0 better support for constants 2015-03-31 13:23:37 -04:00
Quentin Carbonneaux
c65422a14f refine TODO 2015-03-27 17:22:25 -04:00
Quentin Carbonneaux
92dd898493 add a scratch TODO 2015-03-27 17:13:23 -04:00
Quentin Carbonneaux
288613f0d6 expect reg in brz, might not be true 2015-03-25 16:26:47 -04:00
Quentin Carbonneaux
c07e0bdcef simplify label logic 2015-03-25 16:24:14 -04:00
Quentin Carbonneaux
4379da2447 branch code 2015-03-25 15:58:15 -04:00
Quentin Carbonneaux
5c44aecd0c more codegen 2015-03-25 14:32:52 -04:00
Quentin Carbonneaux
ae76cfb9cd start writing some codegen 2015-03-25 12:23:59 -04:00
Quentin Carbonneaux
99b136d7ba improvements to elf.ml 2015-02-20 20:22:12 -05:00
Quentin Carbonneaux
c0271371c6 fix bugs in movgen 2015-02-20 16:06:24 -05:00
Quentin Carbonneaux
4e307b91e7 start work on movgen 2015-02-20 15:52:17 -05:00
Quentin Carbonneaux
00cec4cf35 cosmetics 2015-02-18 20:00:42 -05:00
Quentin Carbonneaux
cc1f38f501 add spill test 2015-02-18 19:58:12 -05:00
Quentin Carbonneaux
8344a68910 kind of working! 2015-02-18 18:59:40 -05:00
Quentin Carbonneaux
67cf06ca8c wip 2015-02-18 16:44:27 -05:00