Commit Graph

73 Commits

Author SHA1 Message Date
9d6287a6a3 expose machine units to user 2015-07-01 22:22:53 +02:00
c71fe29792 simplify unit system and use floats by default 2015-06-26 16:34:37 +02:00
fdc406f062 transforms/inline: support user-defined context managers 2015-05-09 14:47:08 +08:00
4048568d8e support kernel handover with coherent time 2015-05-02 23:41:49 +08:00
967145f2dc watchdog support on core device (broken by bug similar to issue #19) 2015-04-29 12:58:37 +08:00
fda4ee1a83 coredevice: add compile method 2015-04-07 15:40:25 +08:00
c0c0137d9a transforms/inline: support skipping of attr init 2015-01-29 23:48:03 +08:00
a9b28dff36 transforms/lower_units: support empty list 2014-12-19 14:40:20 +08:00
5522378c1c support units in lists 2014-12-19 14:34:23 +08:00
0d10ae7580 rpc: support all data types as parameters 2014-12-19 12:46:24 +08:00
f31386d15d py2llvm: len() support on lists 2014-12-18 11:13:50 +08:00
8af0301185 transforms/tools/value_to_ast: list support 2014-12-17 22:22:44 +08:00
f3b727b59d py2llvm: replace array with list 2014-12-17 21:54:10 +08:00
cad5933709 transforms/inline: do not writeback bool 2014-12-02 15:53:41 +08:00
a3f981726a units: error checking 2014-11-22 16:56:51 -08:00
ab88c6d0b8 transforms/lower_units: fix bugs and add unit test 2014-11-21 18:08:14 -08:00
35d4f75b65 transforms: PEP8 2014-11-21 15:55:39 -08:00
1f92e19f2b transforms/fold_constants: support decimal fractions 2014-11-21 15:51:20 -08:00
e01050b19a transforms/inline: fix default values of positional args 2014-11-19 22:55:34 -08:00
8b552134a0 transforms/inline: keyword argument and default value support 2014-11-18 13:40:15 -08:00
cbc629bd8c transforms: assume isinstance(expr, ast.Call) => isinstance(expr.func, ast.Name) after inline 2014-11-15 15:36:26 -07:00
e02ca0b404 transforms: quantize time before interleaving 2014-11-15 15:26:35 -07:00
ddc9c3423f transforms/interleave: handle 'at' 2014-11-15 14:50:26 -07:00
9b93b0cedf unparse: string-based API 2014-11-03 18:14:33 +08:00
e9e12adceb transforms/inline: object attribute writeback 2014-11-03 18:04:01 +08:00
a29d7ec6fe transforms/remove_inter_assigns: fix handling of try blocks 2014-11-03 14:35:40 +08:00
171d56af54 transforms/remove_inter_assigns: prevent combinatorial explosion 2014-11-03 14:22:24 +08:00
fba72cc0a2 transforms/remove_inter_assign: support names and dependencies 2014-11-03 11:35:54 +08:00
cf7848c698 transforms/inline: rewrite 2014-10-31 23:43:36 +08:00
b12fd1d566 transforms/remove_dead_code: bugfixes 2014-10-31 23:17:54 +08:00
97329b7fc9 transforms/inline: offload some work to remove_inter_assigns/remove_dead_code 2014-10-30 19:13:01 +08:00
1c0c0b691e transforms/remove_inter_assigns: fix bug with array assignment 2014-10-29 20:29:37 +08:00
1e8c9837ac transforms: add dead code removal 2014-10-29 20:23:58 +08:00
be94a8b07c transforms/fold_constants: support comparisons 2014-10-29 18:46:06 +08:00
c82c631a1d transforms/tools/eval_constant: fix int64 handling 2014-10-29 17:30:35 +08:00
70cc0d1766 transform: add intermediate assignment removal 2014-10-29 17:09:45 +08:00
f012151506 transforms/inline,unroll_loops: fix aliasing problems 2014-10-29 17:09:16 +08:00
97ce1d6c2d transforms/inline: fix assign context on attributes 2014-10-29 16:03:20 +08:00
754a06c623 transforms/fold_constants: support BoolOp 2014-10-14 15:15:02 +08:00
b6ac4bdbf3 transforms/tools: support NameConstant 2014-10-14 15:14:39 +08:00
8a06f93eb2 transforms/inline: embed bool calls 2014-10-13 23:55:14 +08:00
7c4450a963 time_to_cycles: round instead of flooring 2014-10-13 18:35:05 +08:00
5b05a3f75b transforms/inline: implement 'portable' decorator 2014-10-13 17:04:55 +08:00
3ee9a87a00 transforms/lower_time: optimize time_to_cycles(cycles_to_time(x)) -> x 2014-10-11 12:04:14 +08:00
c659acb26e transforms/lower_time: fix time_to_cycles/cycles_to_time 2014-10-11 00:35:49 +08:00
2920ac85d2 transforms/inline: support attributes on user variables/calls 2014-10-08 18:01:15 +08:00
e22301ea05 transforms: track units, now() returns seconds, implement time_to_cycles and cycles_to_time 2014-10-06 23:28:56 +08:00
0985a53df2 language/core: add time_to_cycles and cycles_to_time 2014-10-06 23:26:21 +08:00
2a19d7d32b language/units: use only a string to identify units 2014-10-05 21:01:08 +08:00
2944592201 Remove microcycle unit
Introducing it complicates things and has no advantage with good rational arithmetic support.
2014-10-05 17:54:22 +08:00