- Nov 17, 2014
-
-
Erwan Jahier authored
-
Erwan Jahier authored
-
- Oct 09, 2014
-
-
Erwan Jahier authored
Basically, I've missed some substitutions in Merge and in clocks. This one was spotted by willie.
-
Erwan Jahier authored
-
Erwan Jahier authored
More precisely, it was introduced here ea40dfa0 when addind the -enc option. Indeed, in -ec, since them I've decided to only output the main node. Hence when no main is specified, one was taken at random. But it the chosen nide is a predef one, no code is generated ! To fix this, I now chose a user def node.
-
Erwan Jahier authored
More precisely, it was introduced here 6c7bc562 bug1: Soc2cGenAssign.f was calling Soc2cIdent.type_to_short_string, which was generating bad idents (ie, containing "::"). bug2 : some _assign_array_types macro def were missing. to be continued...
-
- Oct 07, 2014
-
-
Erwan Jahier authored
For the time being, we simple try to factorise out the test of consecutive gao that holds on the same clock. ps : also fix a pb (infinite loop in SortActions.topo_sort) introduced in the previous change that, for a strange reason (Makefile issue), was not catched by the test (almost all test were failing !!). pps : it actually seems to break quite a lot of test, but its my test script that wrong ! since version 527 (we are 534), the compiler used to perform the test in the tmp dirs is not upadated ! (well it is, but on the wrong machine...). I commit this change still as it introduces no more test failures.
-
- Oct 06, 2014
-
-
Erwan Jahier authored
Indeed, computing the dependencies and choosing an order for actions (that may optimize test openning in the near futurea) are 2 different things.
-
- Oct 03, 2014
-
-
Erwan Jahier authored
i.e., by providing a default macro definition that uses memcpy() (versus generating a nop function).
-
Erwan Jahier authored
As suggested by Willie, it allows it to be specialized when it is called more than once.
-
Erwan Jahier authored
The rationale is to prepare the work for a future --2s-stack option.
-
- Oct 02, 2014
-
-
Erwan Jahier authored
Also provide a default version of those macros using memcpy.
-
Erwan Jahier authored
that expands the call of the specified node (can be used for several nodes). Remove the previous --do_not-expand-nodes <string> Also, the L2lExpandNodes pass now deletes the expanded nodes from the current LicPrg.t.
-
- Oct 01, 2014
-
-
Erwan Jahier authored
Add an option --to-c-dont-inline-predef to get the previous behavior.
-
- Sep 29, 2014
-
-
Erwan Jahier authored
I've just switched to ocaml 4.02, and it works only on carlit because of GLIC 2.14 is not installed on other machine. also, add some missing files.
-
- Sep 09, 2014
-
-
Erwan Jahier authored
-
- Sep 05, 2014
-
-
Erwan Jahier authored
Indeed, the shift from pave to bauges changes its behavior.
-
- Sep 04, 2014
-
-
Erwan Jahier authored
-
- Sep 03, 2014
-
-
Erwan Jahier authored
I know they fail, but I'll fix that latter. Also disable tests that involves ecxexe with files that contain 'merge'. indeed the -ec backend is not the priority.
-
Erwan Jahier authored
nb: bad timings is due to NFS and pavé that is dying.
-
Erwan Jahier authored
to behave as scanf("%d") (the function that perform this job is actually in rdbg-plugin so that it is shared with lutin and rdbg)
-
- Sep 02, 2014
-
-
Erwan Jahier authored
The translation was faithfull to the comment, but the comment was wrong : in order to translate a condact, we need clocks (when) ! node condact_toto(i0:bool; i1:int; i2:int) returns (o0:int) = Lustre::condact<<toto, 0>>; is now translated into: condact_toto(i0:bool; i1:int; i2:int) returns (o0:int) let o0 = if i0 then current(toto(i1 when i0, i2 when i0) ) else (0 fby o0); tel
-
- Sep 01, 2014
-
-
Erwan Jahier authored
is the clock of the quicker clock among its inputs, not among its output !
-
- Aug 27, 2014
-
-
Erwan Jahier authored
-
- Aug 26, 2014
-
-
Erwan Jahier authored
-
Erwan Jahier authored
To acheive that, I gave a diffretent name to each created executable (vs a.out) to avoids races.
-
- Aug 25, 2014
-
-
Erwan Jahier authored
generation has been stopped in the middle of the process because of an error in order to avoid to run test that will fail for sure.
-
- Aug 22, 2014
-
-
Erwan Jahier authored
-
Erwan Jahier authored
-
Erwan Jahier authored
-
Erwan Jahier authored
-
Erwan Jahier authored
soc2c: fix the code generated for array concatenation (which was raising a warning and a Seg fault).
-
Erwan Jahier authored
Also remove the port number from the sum files
-
Erwan Jahier authored
by taking advantage of the multi-proc -> x5 speedup with j 4 ! Note that i do not use -j 4 (qtest) for reference (reftest) to lower timings distorsion due to the machine load.
-
- Aug 19, 2014
-
-
Erwan Jahier authored
Indeed, for big integers, looking at |x-x'|<eps leads to false positive, because of the precision (*); it is better to to look at |1-x/x'|<eps (*) the precision (-p 6) influence the comparison, because the SUT currently sends its result via a socket and truncate the result (which is probably a bad idea). nb : the exec time explose (x3), but for an external (unknown) reason (undoing the change leads to the same exec time ~800s).
-
- Aug 14, 2014
-
-
Erwan Jahier authored
-
Erwan Jahier authored
nb : the -exec mode was working because I did not use the generated soc, which was completely wrong. Note that to do that, I have modified the CURRENT variant of Lic.val_exp, to attach it the clock the current holds on. Indeed, the clock is mandatory to generated correct code... In an ideal world, this clock information may have explicitely been set by the user ("current(clk_of_X,X)" instead of "current(X)"), but for historical reason, it is not the case. Hence, this information is added as soon as it is available, namely, during clock checking.
-
- Aug 07, 2014
-
-
Erwan Jahier authored
Indeed, starting from a clean /tmp dir changed the result of the non reg test...
-
Erwan Jahier authored
Indeed, once the activation condition has been true, and when it is false it wax returning the default value instead of the previous one. # of expected passes 1512 -> 1519 # of unexpected failures 84 -> 78
-
Erwan Jahier authored
For instance, do not launch tests that perform result comparison (via lurette) on files that contains extern nodes (as they cannot be executed) or package. Package do not work because appending the tested lustre file with the generated oracle as I do is wrong in presence of package. Moreover, my current test process is not able to test programs which main node IOs are not all on the base clock. I have fixed this by patching the examples. # of expected passes 1508 -> 1512 # of unexpected failures 130 -> 84
-