- Jun 19, 2015
-
-
Mamadou Ndiaye authored
-
- Jun 17, 2015
-
-
Mamadou Ndiaye authored
-kcg: evaluates types enum and struct correctly. -kcg: evaluates const correctly.
-
- Jun 12, 2015
-
-
Mamadou Ndiaye authored
-
- Jun 11, 2015
-
-
Mamadou Ndiaye authored
-
- Jun 01, 2015
-
-
Erwan Jahier authored
-
- May 29, 2015
-
-
Erwan Jahier authored
-
- May 22, 2015
-
-
Erwan Jahier authored
lus2lic -h shows the basic options lus2lic -more shows more experimental options lus2lic -dev shows experimental/internal options
-
Erwan Jahier authored
+ the utils/lustrequiv script that tries to state that 2 nodes a equivalent or not using lesar and lurette.
-
- Apr 10, 2015
-
-
Erwan Jahier authored
Indeed, I've missed that case and have no nonreg test for -2ch
-
Erwan Jahier authored
that I should have catched then. Sigh. only affect array concat
-
Erwan Jahier authored
by grouping instances of the same type into arrays. The rationale is to be able to generate for loops with iterators. The previous code was working, but probably by chance.
-
- Apr 08, 2015
-
-
Erwan Jahier authored
-
Erwan Jahier authored
Actually, that was the default behavior. Now the default behavior is to generate loops for iterators. nb : with -2ch, loops are still always inlined
-
- Apr 07, 2015
-
-
Erwan Jahier authored
-
- Mar 30, 2015
-
-
Erwan Jahier authored
Indeed, an iterator is a kind of node.
-
- Mar 24, 2015
-
-
Erwan Jahier authored
-
Erwan Jahier authored
-
Erwan Jahier authored
combined with -cc, actually computes the wcet. nb : only works if wcet tools are installed (owcet.arm, arm-elf-gcc)
-
Erwan Jahier authored
combined with -cc, actually computes the wcet. nb : only works if wcet tools are installed (owcet.arm, arm-elf-gcc)
-
- Mar 20, 2015
-
-
Erwan Jahier authored
-
Erwan Jahier authored
That generated dummy main calls one step function and exits. Imposes -2c.
-
Erwan Jahier authored
-
- Mar 18, 2015
-
-
Erwan Jahier authored
Indeed, in order to sort Soc.gao, I currently process in 3 stages ; 1. compute a total ordering of Actions.t according to the deps 2. transform Actions.t into Soc.gao (List.map) 3. factorize Soc.gao by looking at consecutive gao that have the same guard With this change, between steps 1 and 2, I reorder the list of actions so that group of independent actions are sorted according to their clock. The idea is of course to provide to step 3 more opportunities of factorization. The result is not very convincing yet. I've also tried to sort the actions wrt their clock before performing the toposort. Seems not too bad. I've kept the old behavior by default though.
-
- Mar 03, 2015
-
-
Erwan Jahier authored
-
Erwan Jahier authored
Indeed, having two different mechanisms is bad. In the end, I've kept mine (and not the one of Pascal), because the it was depending on LicPrg.t, which was creating a circular dep (which could of course be fixed, but I am lazy).
-
- Feb 27, 2015
-
-
Erwan Jahier authored
-
Erwan Jahier authored
-
- Feb 26, 2015
-
-
Erwan Jahier authored
-
Erwan Jahier authored
by removing a unit test that does not work on win32 (because of bad path convention).
-
- Feb 24, 2015
-
-
Erwan Jahier authored
e.g., for arrays. No test actually catches this bug.
-
- Feb 23, 2015
-
-
Erwan Jahier authored
Now all the tests that were ok in the heap mode are also ok in the stack mode ! However the code generated for programs that use fillred and co is weird. For instance, in should_work.pipeline.lus, in fillred_oneStep_pipe_10_step, accu_in is used both as an input and an output, which seems wrong in the stack mode as no copy is performed. Is it working by chance ?
-
- Feb 13, 2015
-
-
Erwan Jahier authored
Now all the tests that were ok in the heap mode are also ok in the stack mode ! However the code generated by fillred and co is weird. For instance, in should_work.pipeline.lus, in fillred_oneStep_pipe_10_step, accu_in is used both as an input and an output, which seems wrong in the stack mode as no copy is performed. Is it working by chance ?
-
Erwan Jahier authored
Indeed, in order to copy an array, I used to generate something like memcpy(out, in, sizeof(in)); but if 'out' and 'in' are arrays, and if 'in' is an argument of a function, sizeof() considers it as a pointer, not an array !!!! note that if 'in' is a local var, sizeof(in) works fine. To fix it, I use the type of the dest (instead of the id) as argument of sizeof. nb : The pb never occured before, as in the heap mode only the ctx is passed a args of step functions.
-
- Feb 12, 2015
-
-
Erwan Jahier authored
There were problems with: - a clash in the node_loop.c file with the local 's' counter (oups). - code generated for boolred - code generated for arrow on arrays
-
Erwan Jahier authored
There were problems with arrays
-
Erwan Jahier authored
There were problems with: - arrays in step functions (array were declared with an incorrect syntax) - the node_loop.c file was wrong in presence of arrays in I/O - clock that are outputs (a "*" was missing)
-
- Feb 09, 2015
-
-
Erwan Jahier authored
when calling soc. Do not work all the times (eg, with arrays it generates C code that does not compile). cf next changes.
-
- Jan 27, 2015
-
-
Erwan Jahier authored
-
- Jan 26, 2015
-
-
Erwan Jahier authored
By chance (or for other reasons), the resulting code was correct.
-
- Jan 22, 2015
-
-
Erwan Jahier authored
-