aboutsummaryrefslogtreecommitdiffstats
path: root/riscV/ExpansionOracle.ml
diff options
context:
space:
mode:
authorLéo Gourdin <leo.gourdin@univ-grenoble-alpes.fr>2021-03-01 13:17:15 +0100
committerLéo Gourdin <leo.gourdin@univ-grenoble-alpes.fr>2021-03-01 13:17:15 +0100
commita3d782f1d30bfea3fee4ac60c6a5aa36c2f5de25 (patch)
treeab3342351417c308c61c3d877bd06046a61f9073 /riscV/ExpansionOracle.ml
parent80db8e4b9a2321f0b102e97b70181fe368a077b4 (diff)
downloadcompcert-kvx-a3d782f1d30bfea3fee4ac60c6a5aa36c2f5de25.tar.gz
compcert-kvx-a3d782f1d30bfea3fee4ac60c6a5aa36c2f5de25.zip
some bugfix
Diffstat (limited to 'riscV/ExpansionOracle.ml')
-rw-r--r--riscV/ExpansionOracle.ml8
1 files changed, 4 insertions, 4 deletions
diff --git a/riscV/ExpansionOracle.ml b/riscV/ExpansionOracle.ml
index 103285b4..07999b05 100644
--- a/riscV/ExpansionOracle.ml
+++ b/riscV/ExpansionOracle.ml
@@ -370,7 +370,7 @@ let rec write_tree exp current code' new_order =
| _ -> failwith "ExpansionOracle.write_tree: inconsistent instruction."
let expanse (sb : superblock) code pm =
- (*debug_flag := true;*)
+ debug_flag := true;
let new_order = ref [] in
let liveins = ref sb.liveins in
let exp = ref [] in
@@ -436,12 +436,12 @@ let expanse (sb : superblock) code pm =
debug "Icond/Ccomp\n";
exp := cbranch_int32s false c a1 a2 info succ1 succ2 [];
was_branch := true;
- was_exp := true
+ was_exp := true*)
| Icond (Ccompu c, a1 :: a2 :: nil, succ1, succ2, info) ->
debug "Icond/Ccompu\n";
exp := cbranch_int32u false c a1 a2 info succ1 succ2 [];
was_branch := true;
- was_exp := true
+ was_exp := true(*
| Icond (Ccompimm (c, imm), a1 :: nil, succ1, succ2, info) ->
debug "Icond/Ccompimm\n";
exp := expanse_cbranchimm_int32s c a1 imm info succ1 succ2 [];
@@ -511,7 +511,7 @@ let expanse (sb : superblock) code pm =
sb.instructions <- Array.of_list (List.rev !new_order);
sb.liveins <- !liveins;
print_ptree_regset !liveins;
- (*debug_flag := false;*)
+ debug_flag := false;
(!code', !pm')
let rec find_last_node_reg = function