aboutsummaryrefslogtreecommitdiffstats
path: root/driver
diff options
context:
space:
mode:
authorLéo Gourdin <leo.gourdin@univ-grenoble-alpes.fr>2021-05-19 18:17:31 +0200
committerLéo Gourdin <leo.gourdin@univ-grenoble-alpes.fr>2021-05-19 18:17:31 +0200
commitbe8d929aef8e86c2e22e32c525093c6bfe56a300 (patch)
tree9026f38d9251477da228ba0d27706d448d7b7cfb /driver
parenta6545d8fa35ab4ab3a12823eafacff99d7307314 (diff)
downloadcompcert-kvx-be8d929aef8e86c2e22e32c525093c6bfe56a300.tar.gz
compcert-kvx-be8d929aef8e86c2e22e32c525093c6bfe56a300.zip
Adding both RV expansion methods in kvx-work
Diffstat (limited to 'driver')
-rw-r--r--driver/Clflags.ml2
-rw-r--r--driver/Driver.ml2
2 files changed, 4 insertions, 0 deletions
diff --git a/driver/Clflags.ml b/driver/Clflags.ml
index 9b7b5c4d..fa17c2d9 100644
--- a/driver/Clflags.ml
+++ b/driver/Clflags.ml
@@ -105,6 +105,8 @@ let option_fmadd = ref true
let option_div_i32 = ref "stsud"
let option_div_i64 = ref "stsud"
let option_fcoalesce_mem = ref true
+let option_fexpanse_rtlcond = ref false
+let option_fexpanse_others = ref false
let option_fforward_moves = ref false
let option_fmove_loop_invariants = ref false
let option_fnontrap_loads = ref true
diff --git a/driver/Driver.ml b/driver/Driver.ml
index c9eacadc..7192ba4b 100644
--- a/driver/Driver.ml
+++ b/driver/Driver.ml
@@ -444,6 +444,8 @@ let cmdline_actions =
@ f_opt "madd" option_fmadd
@ f_opt "nontrap-loads" option_fnontrap_loads
@ f_opt "coalesce-mem" option_fcoalesce_mem
+ @ f_opt "expanse-rtlcond" option_fexpanse_rtlcond
+ @ f_opt "expanse-others" option_fexpanse_others
@ f_opt "all-loads-nontrap" option_all_loads_nontrap
@ f_opt "forward-moves" option_fforward_moves
(* Code generation options *)