aboutsummaryrefslogtreecommitdiffstats
path: root/mppa_k1c/Asmgenproof.v
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2018-03-20 17:57:46 +0100
committerCyril SIX <cyril.six@kalray.eu>2018-04-04 16:30:09 +0200
commit482c4d6f63113ab8486ba1773694bc7756cd0f00 (patch)
tree2931c0b45db8362058214992cc246fd386c91998 /mppa_k1c/Asmgenproof.v
parent6bf497f210737fa30b54a69454f6f96d92d2a67a (diff)
downloadcompcert-kvx-482c4d6f63113ab8486ba1773694bc7756cd0f00.tar.gz
compcert-kvx-482c4d6f63113ab8486ba1773694bc7756cd0f00.zip
MPPA - Activated Mtailcall + Pcall
Diffstat (limited to 'mppa_k1c/Asmgenproof.v')
-rw-r--r--mppa_k1c/Asmgenproof.v6
1 files changed, 4 insertions, 2 deletions
diff --git a/mppa_k1c/Asmgenproof.v b/mppa_k1c/Asmgenproof.v
index 414527ad..213cb5d6 100644
--- a/mppa_k1c/Asmgenproof.v
+++ b/mppa_k1c/Asmgenproof.v
@@ -362,6 +362,8 @@ Lemma transl_instr_label:
Proof.
unfold transl_instr; intros; destruct i; TailNoLabel.
- eapply transl_op_label; eauto.
+- destruct s0; monadInv H; eapply tail_nolabel_trans
+ ; [eapply make_epilogue_label|TailNoLabel].
- eapply tail_nolabel_trans; [eapply make_epilogue_label|TailNoLabel].
Qed.
(*
@@ -372,7 +374,6 @@ Qed.
- eapply transl_op_label; eauto.
- destruct m; monadInv H; eapply transl_memory_access_label; eauto; intros; exact I.
- destruct m; monadInv H; eapply transl_memory_access_label; eauto; intros; exact I.
-- destruct s0; monadInv H; TailNoLabel.
- destruct s0; monadInv H; (eapply tail_nolabel_trans; [eapply make_epilogue_label|TailNoLabel]).
- eapply transl_cbranch_label; eauto.
- eapply tail_nolabel_trans; [eapply make_epilogue_label|TailNoLabel].
@@ -829,6 +830,7 @@ Local Transparent destroyed_by_op.
econstructor; eauto.
apply agree_set_other; auto with asmgen.
Simpl. rewrite Z by (rewrite <- (ireg_of_eq _ _ EQ1); eauto with asmgen). assumption.
+*)
+ (* Direct call *)
exploit make_epilogue_correct; eauto. intros (rs1 & m1 & U & V & W & X & Y & Z).
exploit exec_straight_steps_2; eauto using functions_transl.
@@ -843,7 +845,7 @@ Local Transparent destroyed_by_op.
econstructor; eauto.
apply agree_set_other; auto with asmgen.
Simpl. unfold Genv.symbol_address. rewrite symbols_preserved. rewrite H. auto.
-*)
+
- (* Mbuiltin *)
inv AT. monadInv H4.
exploit functions_transl; eauto. intro FN.