aboutsummaryrefslogtreecommitdiffstats
path: root/driver/Driver.ml
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2020-03-17 15:12:06 +0100
committerCyril SIX <cyril.six@kalray.eu>2020-03-17 15:12:06 +0100
commitfb43d1078c0b0824132b30d7dd9bfe6b0ac47122 (patch)
treeb51287fed668d9fd06ab98f19dfe454d4c6a27b4 /driver/Driver.ml
parentaa2e3d776cb82ce01c4afdbacc52951e60ff2104 (diff)
downloadcompcert-kvx-fb43d1078c0b0824132b30d7dd9bfe6b0ac47122.tar.gz
compcert-kvx-fb43d1078c0b0824132b30d7dd9bfe6b0ac47122.zip
Desactivating branch predictions by default
Diffstat (limited to 'driver/Driver.ml')
-rw-r--r--driver/Driver.ml6
1 files changed, 5 insertions, 1 deletions
diff --git a/driver/Driver.ml b/driver/Driver.ml
index 01451e07..388482a0 100644
--- a/driver/Driver.ml
+++ b/driver/Driver.ml
@@ -201,7 +201,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