aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Scaling down most of c/ CompCert testsCyril SIX2019-09-1318-37/+56
|
* Starting to modify official CompCert tests to be passable with the simuCyril SIX2019-09-1018-89/+81
|
* Test for compd.geuCyril SIX2019-09-051-0/+6
|
* Removing unused .all, .any, .nall and .none conditionsCyril SIX2019-09-051-1/+1
|
* Adding tests for cmovedCyril SIX2019-09-052-0/+85
|
* aclrw testCyril SIX2019-09-031-0/+12
|
* Merge remote-tracking branch 'origin/mppa-work-upstream-merge' into mppa-workCyril SIX2019-09-0310-100/+75
|\ | | | | | | | | | | | | Conflicts: configure mppa_k1c/Archi.v mppa_k1c/Asmexpand.ml
| * macros for fma() fmaf()David Monniaux2019-08-301-0/+1
| |
| * fma with first negated operandDavid Monniaux2019-08-301-0/+1
| |
| * fmaDavid Monniaux2019-08-301-0/+12
| |
| * merge upstream including fma fixesDavid Monniaux2019-08-283-72/+0
| |
| * Merge branch 'master' of https://github.com/AbsInt/CompCert into ↵David Monniaux2019-07-196-28/+61
| |\ | | | | | | | | | mppa-work-upstream-merge
| | * When testing builtin functions, prevent constant propagationXavier Leroy2019-07-174-28/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that some builtin functions have known semantics, constant propagation can happen in this test. This defeats the purpose, which is to check that the correct processor instructions are generated. To prevent this constant propagation, we move the initialized variables to global scope. Since they are not "const", their values are not known to the optimizer.
| | * Extended asm: print register names according to their typesXavier Leroy2019-06-171-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When printing an extended asm code fragment, placeholders %n are replaced by register names. Currently we ignore the fact that some assemblers use different register names depending on the width of the data that resides in the register. For example, x86_64 uses %rax for a 64-bit quantity and %eax for a 32-bit quantity, but CompCert always prints %rax in extended asm statements. This is problematic if we want to use 32-bit integer instructions in extended asm, e.g. int x, y; asm("addl %1, %0", "=r"(x), "r"(y)); produces addl %rax, %rdx which is syntactically incorrect. Another example is ARM FP registers: D0 is a double-precision float, but S0 is a single-precision float. This commit partially solves this issue by taking into account the Cminor type of the asm parameter when printing the corresponding register. Continuing the previous example, int x, y; asm("addl %1, %0", "=r"(x), "r"(y)); now produces addl %eax, %edx This is not perfect yet: we use Cminor types, because this is all we have at hand, and not source C types, hence "char" and "short" parameters are still printed like "int" parameters, which is not good for x86. (I.e. we produce %eax where GCC might have produced %al or %ax.) We'll leave this issue open.
| | * Perform constant propagation and strength reduction on conditional movesXavier Leroy2019-06-171-0/+20
| | | | | | | | | | | | | | | A conditional move whose condition is statically known becomes a regular move. Otherwise, the condition can sometimes be simplified by strength reduction.
| | * If-conversion optimizationXavier Leroy2019-06-063-1/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extends the instruction selection pass with an if-conversion optimization: some if/then/else statements are converted into "select" operations, which in turn can be compiled down to branchless instruction sequences if the target architecture supports them. The statements that are converted are of the form if (cond) { x = a1; } else { x = a2; } if (cond) { x = a1; } if (cond) { /*skip*/; } else { x = a2; } where a1, a2 are "safe" expressions, containing no operations that can fail at run-time, such as memory loads or integer divisions. A heuristic in backend/Selectionaux.ml controls when the optimization occurs, depending on command-line flags and the complexity of the "then" and "else" branches.
* | | Rajout de clzd dans les testsCyril SIX2019-08-301-0/+3
| | |
* | | Added more testsCyril SIX2019-08-304-27/+56
| | |
* | | (#157) Removed AFADDD and AFADDW from the builtinsCyril SIX2019-08-302-1/+14
| | |
* | | Adding tests for addx8d addx8w etc..Cyril SIX2019-08-303-2/+11
| | |
* | | Decreasing a bit the number of processes in run_benchesCyril SIX2019-08-301-1/+1
| | |
* | | Fixed the extraction of instructions from TargetPrinter.mlCyril SIX2019-08-302-5/+4
| | |
* | | Updated test/mppa/coverage.sh to check which instruction isn't tested yetCyril SIX2019-08-292-37/+55
| | |
* | | Removing submodule test/mppa/asm_coverage from the repositoryCyril SIX2019-08-281-0/+0
| | |
* | | Minor fix for the measurements macrosCyril SIX2019-07-242-4/+5
|/ /
* | Fixing the generation of verifier_times.txt and oracle_times.txtCyril SIX2019-07-182-7/+7
| |
* | (#142) Desactivating scheduling when using -O1 optimizationCyril SIX2019-07-171-1/+1
| |
* | README fileCyril SIX2019-07-171-60/+67
| |
* | rules.mk adding more customizationCyril SIX2019-07-171-3/+3
| |
* | Portage réussi et completCyril SIX2019-07-175-14/+14
| |
* | Removing the genmake.py and the generate_makefiles.shCyril SIX2019-07-172-147/+0
| |
* | All working benches portedCyril SIX2019-07-1728-49/+53
| |
* | Up to nttCyril SIX2019-07-1712-15/+20
| |
* | bitsliced-teaCyril SIX2019-07-175-24/+11
| |
* | bitsliced-aes doneCyril SIX2019-07-174-3275/+7
| |
* | (#141) Started to port the new Makefile to rules.mk. Ported binary_searchCyril SIX2019-07-173-57/+144
| |
* | Deleting junk filesCyril SIX2019-07-177-1932/+0
| |
* | (#143) Put in sandbox the example of SHA256Cyril SIX2019-07-124-0/+677
| |
* | (#143) More featuresCyril SIX2019-07-122-10/+17
| |
* | (#143) - Regrouping in obj/ asm/ bin/ directoriesCyril SIX2019-07-121-5/+9
| |
* | (#143) much simpler example to measure how our measures affect performanceCyril SIX2019-07-121-0/+18
| |
* | (#143) intermediate files are not deletedCyril SIX2019-07-121-0/+2
| |
* | (#143) Rajout de la macro TIMEINITCyril SIX2019-07-122-4/+5
| |
* | (#143) Mesure de cycles sur sandboxCyril SIX2019-07-123-4/+42
| |
* | Premier jet du framework d'évaluation de perf (pas fini)Cyril SIX2019-07-114-0/+135
| |
* | Recompile CompCert before applying the patch and compiling itjuly2019Cyril SIX2019-07-111-2/+4
| |
* | Fixing the make.proto of tacle-bench-lift and powerwindow, it now links ↵Cyril SIX2019-07-112-6/+2
| | | | | | | | correctly with the right things
* | Fix for csmithCyril SIX2019-07-111-2/+2
| |
* | Remise des exécutions à x1000Cyril SIX2019-07-111-1/+1
| |
* | Removing the gencompile and gengraphs scripts (now in These6)Cyril SIX2019-07-112-147/+0
| |