aboutsummaryrefslogtreecommitdiffstats
path: root/driver
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-03-17 21:12:23 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-03-17 21:12:23 +0100
commita9cd8d42803abc6b17e6df050f7a22a5d6881efe (patch)
tree802756c44d021539d982250859e59686d0fbde15 /driver
parent6803d06880b0ecda94d70549b61998db84160e5b (diff)
parentfb43d1078c0b0824132b30d7dd9bfe6b0ac47122 (diff)
downloadcompcert-kvx-a9cd8d42803abc6b17e6df050f7a22a5d6881efe.tar.gz
compcert-kvx-a9cd8d42803abc6b17e6df050f7a22a5d6881efe.zip
Merge remote-tracking branch 'origin/mppa-work' into mppa-cse3
Diffstat (limited to 'driver')
-rw-r--r--driver/Clflags.ml2
-rw-r--r--driver/Driver.ml6
2 files changed, 6 insertions, 2 deletions
diff --git a/driver/Clflags.ml b/driver/Clflags.ml
index 901aaa59..ff2647a7 100644
--- a/driver/Clflags.ml
+++ b/driver/Clflags.ml
@@ -30,7 +30,7 @@ let option_fcse2 = ref false
let option_fcse3 = ref true
let option_fcse3_alias_analysis = ref true
let option_fredundancy = ref true
-let option_fduplicate = ref 0
+let option_fduplicate = ref (-1)
let option_finvertcond = ref true
let option_ftracelinearize = ref false
let option_fpostpass = ref true
diff --git a/driver/Driver.ml b/driver/Driver.ml
index 5ae31a1f..b167dbd1 100644
--- a/driver/Driver.ml
+++ b/driver/Driver.ml
@@ -203,7 +203,11 @@ Processing options:
-fpostpass Perform postpass scheduling (only for K1 architecture) [on]
-fpostpass= <optim> Perform postpass scheduling with the specified optimization [list]
(<optim>=list: list scheduling, <optim>=ilp: ILP, <optim>=greedy: just packing bundles)
- -fduplicate Perform tail duplication to form superblocks on predicted traces
+ -fduplicate <nb_nodes> Perform tail duplication to form superblocks on predicted traces
+ nb_nodes control the heuristic deciding to duplicate or not
+ A value of -1 desactivates the entire pass (including branch prediction)
+ A value of 0 desactivates the duplication (but activates the branch prediction)
+ FIXME : this is desactivated by default for now
-finvertcond Invert conditions based on predicted paths (to prefer fallthrough).
Requires -fduplicate to be also activated [on]
-ftracelinearize Linearizes based on the traces identified by duplicate phase