aboutsummaryrefslogtreecommitdiffstats
path: root/backend
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge remote-tracking branch 'origin/kvx-work' into kvx-better2-cse3David Monniaux2020-12-0813-80/+183
| |\ \
| * | | start checking for bugsDavid Monniaux2020-12-021-2/+115
| | | |
| * | | attempt at initial analysisDavid Monniaux2020-12-021-1/+35
| | | |
| * | | Merge remote-tracking branch 'origin/kvx-work' into kvx-better2-cse3David Monniaux2020-12-024-5/+487
| |\ \ \
| * | | | not yet the transfer functions that record predicatesDavid Monniaux2020-11-263-9/+78
| | | | |
| * | | | remains one admitDavid Monniaux2020-11-261-8/+46
| | | | |
| * | | | is_condition_present_soundDavid Monniaux2020-11-263-5/+23
| | | | |
| * | | | begin implementing cond tableDavid Monniaux2020-11-261-6/+13
| | | | |
| * | | | ajouté Cond, tout passeDavid Monniaux2020-11-263-40/+168
| | | | |
| * | | | passage à EquDavid Monniaux2020-11-263-189/+196
| | | | |
| * | | | cond_valid_pointer_eqDavid Monniaux2020-11-251-0/+14
| | | | |
* | | | | remove some useless "OK tt"Sylvain Boulmé2021-01-072-11/+11
| | | | |
* | | | | Merge branch 'kvx-work' of ↵David Monniaux2021-01-074-92/+13
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | gricad-gitlab.univ-grenoble-alpes.fr:sixcy/CompCert into kvx-work
| * | | | | Making verify_mapping_mn_rec tail recursive (should fix arm CI) #231Cyril SIX2021-01-062-3/+2
| | | | | |
| * | | | | Solving a stack overflow issue (was failing in yarpgen ran000089 for armhf)Cyril SIX2021-01-061-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note : the issue is still present later in Duplicateproof. This is because I am examining an "identity ptree" which is way too big. I am having a look to see if I could make this ptree less big - to not include nodes that are identity
| * | | | | Uniformizing a couple of debug print functionsCyril SIX2020-12-172-80/+2
| | | | | |
* | | | | | -fcse3-trivial-opsDavid Monniaux2021-01-072-3/+4
|/ / / / /
* | | | | Fixing wrong predictions on imbricated loopsCyril SIX2020-12-111-104/+114
| | | | |
* | | | | Fixing exponential blowup on get_loop_info.mark_path.exploreCyril SIX2020-12-091-33/+44
| | | | |
* | | | | Flushing debug outputCyril SIX2020-12-091-1/+1
| | | | |
* | | | | The last fix for get_loop_info was giving false positives. Fixing that.Cyril SIX2020-12-081-2/+12
| | | | |
* | | | | Fixing get_loop_info : part 2Cyril SIX2020-12-081-8/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Loops with multiple CBs were only partially predicted for some cases (the header CB would get predicted, but not the CBs inside) This would happen in the case of breaks leading to another loop, such as: ```c void lift_check_level() { int i; int middle = lift_one_level >> 2; if ( lift_cntValid ) { for ( lift_level = 1; lift_level < 14; ++lift_level ) { if ( lift_cnt < lift_levelPos[lift_level] - middle ) break; /* This break */ } } else lift_level = 0; for ( i = 0; i < 14; ++i ) lift_ctrl_io_led[i] = ( i == lift_level - 1 ); } ```
* | | | | Fixing loop detection in get_loop_info - part 1Cyril SIX2020-12-081-16/+8
| | | | | | | | | | | | | | | | | | | | Various typos made the code fail silently for certain loops
* | | | | Moving codeCyril SIX2020-12-081-71/+72
| | | | |
* | | | | More debugCyril SIX2020-12-081-6/+21
| | | | |
* | | | | More debugCyril SIX2020-12-081-3/+3
| | | | |
* | | | | Do not duplicate nodes that don't need to when unrolling the bodyCyril SIX2020-12-081-4/+18
| | | | |
* | | | | Fix on find_last_node_before_loopCyril SIX2020-12-081-3/+7
| |_|/ / |/| | | | | | | | | | | It was too permissive
* | | | Merge branch 'kvx-work' into kvx-work-merge3.8Cyril SIX2020-12-0411-286/+1393
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile configure
| * | | | CommentCyril SIX2020-12-041-0/+1
| | | | |
| * | | | Less aggressive tail duplicationCyril SIX2020-12-041-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | In some cases of two imbricated loops, we would tail-duplicate too much, because of the input trace traversing both loop headers.
| * | | | Clean-up debugCyril SIX2020-12-041-4/+2
| | | | |
| * | | | Fixed infinite loop on find_last_node_before_loopCyril SIX2020-12-041-3/+6
| | | | | | | | | | | | | | | | | | | | Happened when a loop was predicted not to be taken
| * | | | Slight perf improvementCyril SIX2020-12-021-2/+2
| | | | |
| * | | | [expensive] Behavior change when the loop has two final instructionsCyril SIX2020-12-021-9/+57
| | | | | | | | | | | | | | | | | | | | | | | | | Right now though the compilation time is too high for glpk, I need to figure out why
| * | | | Duplicateaux: Generalization of look_aheadCyril SIX2020-12-011-3/+5
| | |/ / | |/| |
| * | | Merge remote-tracking branch 'origin/kvx-work' into kvx-test-prepassCyril SIX2020-12-013-8/+161
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arm/Op.v common/Values.v kvx/Op.v
| | * | store2_soundDavid Monniaux2020-11-251-1/+1
| | | |
| | * | clever_kill_store_soundDavid Monniaux2020-11-251-7/+5
| | | |
| | * | kill_store_soundDavid Monniaux2020-11-251-0/+49
| | | |
| | * | two lemmas admittedDavid Monniaux2020-11-253-9/+115
| | | |
| * | | Ignore loopback edges on tail-duplicateCyril SIX2020-12-011-0/+2
| | | |
| * | | Merge remote-tracking branch 'origin/kvx-work' into kvx-test-prepassDavid Monniaux2020-11-241-2/+2
| |\| |
| | * | tiny simplification in Tunnelingaux.mlSylvain Boulmé2020-11-241-2/+2
| | | |
| * | | Merge remote-tracking branch 'origin/kvx-work' into kvx-test-prepassDavid Monniaux2020-11-194-257/+672
| |\| |
| | * | minor fix in coq2html commentSylvain Boulmé2020-11-161-1/+2
| | | |
| | * | Tunneling: improved elimination of conditionsSylvain Boulmé2020-11-164-256/+670
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the elimination of useless conditions done in the 2nd pass of the tunneling introduced some new "nop" instructions that were not eliminated. This commit solves this issue by anticipating the elimination of conditions in the 1st pass of the tunneling, the 2nd pass being unchanged. In case of cycles in the CFG, the full elimination of useless conditions may require several iterations in the 1st pass. Moreover, in the simulation proof, the measure counting the number of eliminated steps from each node, needs to be adapted according to the modifications on the 1st pass. Hence, this measure results from a quite complex fixpoint computation: proving its properties would be very difficult. This leads us to introduce an oracle, implementing the first pass and producing the expected measure. A certified verifier directly checks that the measure provided by the oracle satisfies the properties expected by the simulation proof. Introducing this oracle/verifier pair has here the following advantage: - the proof is simpler than the original one (e.g. having a certified union-find structure is no more necessary for this pass). - the oracle is very efficient, by using imperative data-structure to compute memoized fixpoints. At runtime, the overhead induced by the verifier computations (and the actual computation of the measure) seems largely compensated by the gains obtained through the imperative oracle.
| * | | Merge remote-tracking branch 'origin/kvx-work' into kvx-test-prepassDavid Monniaux2020-11-062-27/+32
| |\| |
| * | | Merge remote-tracking branch 'origin/kvx-work' into kvx-test-prepassDavid Monniaux2020-11-053-28/+109
| |\ \ \
| * \ \ \ Merge remote-tracking branch 'origin/kvx-work' into kvx-test-prepassDavid Monniaux2020-11-041-1/+2
| |\ \ \ \