aboutsummaryrefslogtreecommitdiffstats
path: root/driver
diff options
context:
space:
mode:
authorLéo Gourdin <leo.gourdin@univ-grenoble-alpes.fr>2021-03-02 20:27:34 +0100
committerLéo Gourdin <leo.gourdin@univ-grenoble-alpes.fr>2021-03-02 20:27:34 +0100
commiteb35c3000530e379dcd79e82f001a400be8b28e9 (patch)
treed673125ce5401aa00aefbc02fdb90fa476771863 /driver
parent6f71a2a369d07a8e812fb3893f30be528b28d3ee (diff)
downloadcompcert-kvx-eb35c3000530e379dcd79e82f001a400be8b28e9.tar.gz
compcert-kvx-eb35c3000530e379dcd79e82f001a400be8b28e9.zip
Adding a flag to test fp_init_exp
Diffstat (limited to 'driver')
-rw-r--r--driver/Clflags.ml1
-rw-r--r--driver/Driver.ml1
2 files changed, 2 insertions, 0 deletions
diff --git a/driver/Clflags.ml b/driver/Clflags.ml
index 4cff3f28..8d85e93a 100644
--- a/driver/Clflags.ml
+++ b/driver/Clflags.ml
@@ -106,6 +106,7 @@ let option_div_i32 = ref "stsud"
let option_div_i64 = ref "stsud"
let option_fcoalesce_mem = ref true
let option_fexpanse_rtlcond = ref true
+let option_fexpanse_fpconst = ref true
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 0c5d9cb4..9750981e 100644
--- a/driver/Driver.ml
+++ b/driver/Driver.ml
@@ -445,6 +445,7 @@ let cmdline_actions =
@ f_opt "nontrap-loads" option_fnontrap_loads
@ f_opt "coalesce-mem" option_fcoalesce_mem
@ f_opt "expanse-rtlcond" option_fexpanse_rtlcond
+ @ f_opt "expanse-fpconst" option_fexpanse_fpconst
@ f_opt "all-loads-nontrap" option_all_loads_nontrap
@ f_opt "forward-moves" option_fforward_moves
(* Code generation options *)