Commit graph

599 commits

Author SHA1 Message Date
Quentin Carbonneaux
059d378b9d fix hinting bug in spiller
We have to first free the output register of an instruction
before setting the interference hints for inregs temporaries.
2016-02-04 12:19:55 -05:00
Quentin Carbonneaux
fb838ce095 fix spill bug on return nodes
When a node has no successor, its inregs out was
initialized with garbage.
2016-02-04 12:18:21 -05:00
Quentin Carbonneaux
77cfb14f58 fix typo in emit tables 2016-02-04 11:58:47 -05:00
Quentin Carbonneaux
f72e1d4b02 fix call emission 2016-02-03 16:45:51 -05:00
Quentin Carbonneaux
470810f307 add more spaces 2016-02-03 16:00:45 -05:00
Quentin Carbonneaux
8937b6c918 add tool to show ieee representations 2016-02-03 15:50:55 -05:00
Quentin Carbonneaux
cab84cb96b fix the double test 2016-02-03 15:50:22 -05:00
Quentin Carbonneaux
45b6017a61 finish emit lifting, seems ok now 2016-02-03 15:50:02 -05:00
Quentin Carbonneaux
09176bc115 more revamp in emit 2016-02-03 11:33:34 -05:00
Quentin Carbonneaux
cf3f6edb75 document emit format 2016-02-02 14:25:10 -05:00
Quentin Carbonneaux
b375751755 start emit simplification 2016-01-29 15:13:19 -05:00
Quentin Carbonneaux
2c351452b1 add cheapo static assert in isel 2016-01-29 10:48:14 -05:00
Quentin Carbonneaux
8d1f2f9d2c compile rega 2016-01-29 10:07:19 -05:00
Quentin Carbonneaux
a70119010f more fp integration in rega 2016-01-29 10:06:33 -05:00
Quentin Carbonneaux
409bb9f838 cosmetics 2016-01-28 16:42:44 -05:00
Quentin Carbonneaux
69b6b9290f use macros for OXxx and OXxx1
This will make sure the debugger uses the
correct name when printing an operation.
2016-01-28 16:33:54 -05:00
Quentin Carbonneaux
ffdc2be115 start fp integration in rega 2016-01-28 16:28:19 -05:00
Quentin Carbonneaux
be088e724f remove constant NReg 2016-01-28 15:12:46 -05:00
Quentin Carbonneaux
d2bcd3beeb fix non-updated limit() call in spiller 2016-01-28 15:12:17 -05:00
Quentin Carbonneaux
7bf505605f fix spacing 2016-01-22 13:29:47 -05:00
Quentin Carbonneaux
ed36bde01e fix wrong assumption in spill.c 2016-01-22 13:25:28 -05:00
Quentin Carbonneaux
dcbcd651c5 enable new spilling pass 2016-01-05 15:03:00 -05:00
Quentin Carbonneaux
3e2c93bde5 compile spill.c 2016-01-04 04:29:42 -05:00
Quentin Carbonneaux
9a837884c6 force warning with XMM15 in rsave[] 2016-01-04 04:29:16 -05:00
Quentin Carbonneaux
70f7e8687d fix dopm() in spill 2016-01-04 04:26:23 -05:00
Ori Bernstein
1a677839aa index() conflicts with string.h on freebsd
rename it to avoid the conflict.
2016-01-03 15:07:48 -05:00
Quentin Carbonneaux
d9aa722d55 change design in spill.c 2016-01-03 15:02:01 -05:00
Quentin Carbonneaux
d71749d2fd go verbose in parse.c 2015-12-27 14:13:33 -05:00
Quentin Carbonneaux
417255cff1 get rid of the Ty enum 2015-12-27 14:13:00 -05:00
Quentin Carbonneaux
d0ccaeb831 more work on spill, not elegant 2015-12-27 12:06:17 -05:00
Quentin Carbonneaux
87cfb3dd2e wip fp lifting in spill.c, pheeew 2015-12-25 17:49:17 -05:00
Quentin Carbonneaux
2aea575f12 get rid of TYS() macro 2015-12-25 17:47:24 -05:00
Quentin Carbonneaux
215914f58d missing case in tmpuse() of spiller 2015-12-23 17:05:41 -05:00
Quentin Carbonneaux
56fc8bfe5c purify test logic in liveness 2015-12-23 16:53:37 -05:00
Quentin Carbonneaux
b871c261a1 delete callclb altogether 2015-12-18 20:32:54 -05:00
Quentin Carbonneaux
5163c8902e enable call handling in liveness 2015-12-18 20:31:25 -05:00
Quentin Carbonneaux
573abcff02 make call{def,use} fp aware 2015-12-18 20:31:08 -05:00
Quentin Carbonneaux
d43958ee71 fix isel typo 2015-12-18 13:16:40 -05:00
Quentin Carbonneaux
587d02df4f uniformize argument fixing 2015-12-10 16:57:41 -05:00
Quentin Carbonneaux
e12500f5e3 fp constant loading must be done on phi 2015-12-08 13:42:29 -05:00
Quentin Carbonneaux
1dc0089684 wip on instruction selection 2015-12-08 13:39:30 -05:00
Quentin Carbonneaux
0791dd026e sanitize constants representation 2015-12-08 10:39:06 -05:00
Quentin Carbonneaux
0298b6c4ca oops, fix typo bug in parse.c 2015-12-01 13:11:03 -05:00
Quentin Carbonneaux
22f2ec9667 test fancy float notation 2015-12-01 13:01:24 -05:00
Quentin Carbonneaux
891877d67d plan work on isel 2015-11-30 17:11:42 -05:00
Quentin Carbonneaux
839dca331a more error reporting in parsedat() 2015-11-30 16:12:51 -05:00
Quentin Carbonneaux
67db7b6578 add a simple floating point test 2015-11-30 15:53:15 -05:00
Quentin Carbonneaux
7c97ca6aae parse and print floating points 2015-11-30 15:51:32 -05:00
Quentin Carbonneaux
62a4ff4566 cosmetics in the ABI document 2015-11-30 14:52:42 -05:00
Quentin Carbonneaux
c8f0945672 update comment in ssa.c 2015-11-30 13:26:43 -05:00