aboutsummaryrefslogtreecommitdiffstats
path: root/mppa_k1c/Asmblockdeps.v
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2019-04-03 16:32:59 +0200
committerCyril SIX <cyril.six@kalray.eu>2019-04-03 16:32:59 +0200
commite0fb40f126c980819869bf2a2f32f7332b1b4a5a (patch)
treee80686110986df274bb14e1bb167c446ff4dacab /mppa_k1c/Asmblockdeps.v
parent34261e53d0da905307eb3e0a0b711571365b078e (diff)
downloadcompcert-kvx-e0fb40f126c980819869bf2a2f32f7332b1b4a5a.tar.gz
compcert-kvx-e0fb40f126c980819869bf2a2f32f7332b1b4a5a.zip
Preuve des load/store registre registre. Reste des modifs mineures dans les preuves de Asmblockdeps
Diffstat (limited to 'mppa_k1c/Asmblockdeps.v')
-rw-r--r--mppa_k1c/Asmblockdeps.v26
1 files changed, 14 insertions, 12 deletions
diff --git a/mppa_k1c/Asmblockdeps.v b/mppa_k1c/Asmblockdeps.v
index e038a5ae..ac8fa6bd 100644
--- a/mppa_k1c/Asmblockdeps.v
+++ b/mppa_k1c/Asmblockdeps.v
@@ -831,7 +831,8 @@ Proof.
- simpl in H. inv H. simpl macro_run. eapply trans_arith_correct; eauto.
(* Load *)
- - simpl in H. destruct i.
+ - simpl in H. admit.
+ (* destruct i.
(* Load Offset *)
+ destruct i. all:
unfold exec_load_offset in H; destruct (eval_offset _ _) eqn:EVALOFF; try discriminate; unfold exec_load in H;
@@ -848,10 +849,11 @@ Proof.
simpl; rewrite H; rewrite (H1 rofs); rewrite (H1 ra); unfold exec_load_deps_reg; rewrite ROFS;
unfold exec_load_deps; simpl in MEML; rewrite MEML; reflexivity
| Simpl
- | intros rr; destruct rr; Simpl; destruct (ireg_eq g rd); subst; Simpl ].
+ | intros rr; destruct rr; Simpl; destruct (ireg_eq g rd); subst; Simpl ]. *)
(* Store *)
- - simpl in H. destruct i.
+ - simpl in H. admit.
+ (* destruct i.
(* Store Offset *)
+ destruct i. all:
unfold exec_store_offset in H; destruct (eval_offset _ _) eqn:EVALOFF; try discriminate; unfold exec_store in H;
@@ -869,7 +871,7 @@ Proof.
unfold exec_store_deps; simpl in MEML; rewrite MEML; reflexivity
| Simpl
| intros rr; destruct rr; Simpl ].
-
+ *)
(* Allocframe *)
- simpl in H. destruct (Mem.alloc _ _ _) eqn:MEMAL. destruct (Mem.store _ _ _ _) eqn:MEMS; try discriminate.
inv H. inv H0. eexists. split; try split.
@@ -895,7 +897,7 @@ Proof.
eexists. split; try split. Simpl. intros rr; destruct rr; Simpl.
(* Pnop *)
- simpl in H. inv H. inv H0. eexists. split; try split. assumption. assumption.
-Qed.
+Admitted.
Lemma forward_simu_body:
forall bdy ge rs m rs' m' fn s,
@@ -1211,23 +1213,23 @@ Proof.
(* Load Offset *)
+ destruct i. all:
simpl; rewrite H2; rewrite (H3 ra); unfold exec_load_offset in H0; destruct (eval_offset _ _); auto;
- unfold exec_load in H0; unfold exec_load_deps; simpl in H0; destruct (Mem.loadv _ _ _); auto; discriminate.
+ unfold exec_load_deps; simpl in H0; destruct (Mem.loadv _ _ _); auto; discriminate.
(* Load Reg *)
- + destruct i. all:
+ + admit. (* destruct i. all:
simpl; rewrite H2; rewrite (H3 rofs); rewrite (H3 ra); unfold exec_load_reg in H0; unfold exec_load_deps_reg;
- destruct (rs rofs); auto; unfold exec_load in H0; simpl in H0; unfold exec_load_deps; destruct (Mem.loadv _ _ _); auto; discriminate.
+ destruct (rs rofs); auto; unfold exec_load in H0; simpl in H0; unfold exec_load_deps; destruct (Mem.loadv _ _ _); auto; discriminate. *)
(* PStore *)
- destruct i.
(* Store Offset *)
+ destruct i. all:
simpl; rewrite H2; rewrite (H3 ra); rewrite (H3 rs0); unfold exec_store_offset in H0; destruct (eval_offset _ _); auto;
- unfold exec_store in H0; simpl in H0; unfold exec_store_deps; destruct (Mem.storev _ _ _); auto; discriminate.
+ simpl in H0; unfold exec_store_deps; destruct (Mem.storev _ _ _); auto; discriminate.
(* Store Reg *)
- + destruct i. all:
+ + admit. (* destruct i. all:
simpl; rewrite H2; rewrite (H3 rofs); rewrite (H3 ra); rewrite (H3 rs0); simpl in H0; unfold exec_store_reg in H0;
unfold exec_store_deps_reg; destruct (rs rofs); auto; unfold exec_store in H0; unfold exec_store_deps;
- destruct (Mem.storev _ _ _ _); auto; discriminate.
+ destruct (Mem.storev _ _ _ _); auto; discriminate. *)
(* Pallocframe *)
- simpl. Simpl. pose (H3 SP); simpl in e; rewrite e; clear e. rewrite H2. destruct (Mem.alloc _ _ _). simpl in H0.
@@ -1241,7 +1243,7 @@ Proof.
all: simpl; auto.
- simpl. destruct rd; subst; try discriminate.
all: simpl; auto.
-Qed.
+Admitted.
Lemma forward_simu_body_stuck:
forall bdy ge fn rs m s,