diff options
author | Léo Gourdin <leo.gourdin@univ-grenoble-alpes.fr> | 2020-11-25 16:34:02 +0100 |
---|---|---|
committer | Léo Gourdin <leo.gourdin@univ-grenoble-alpes.fr> | 2020-11-25 16:34:02 +0100 |
commit | fbe134640de11d69cef417e2e59e2e2669ccc7ad (patch) | |
tree | 3b27db2cc29ab938f89926883837fcc835f27ee5 /aarch64/PostpassSchedulingproof.v | |
parent | 1975837dbd2b3a924bc77fd4e64cce0a37c21994 (diff) | |
download | compcert-kvx-fbe134640de11d69cef417e2e59e2e2669ccc7ad.tar.gz compcert-kvx-fbe134640de11d69cef417e2e59e2e2669ccc7ad.zip |
Preservation proof with post pass scheduling in Asmgenproof almost done
Diffstat (limited to 'aarch64/PostpassSchedulingproof.v')
-rw-r--r-- | aarch64/PostpassSchedulingproof.v | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/aarch64/PostpassSchedulingproof.v b/aarch64/PostpassSchedulingproof.v index c32579a2..48840602 100644 --- a/aarch64/PostpassSchedulingproof.v +++ b/aarch64/PostpassSchedulingproof.v @@ -24,7 +24,7 @@ Require Import Axioms. Local Open Scope error_monad_scope. -Definition match_prog (p tp: Asmblock.program) := +Definition match_prog (p tp: program) := match_program (fun _ f tf => transf_fundef f = OK tf) eq p tp. Lemma transf_program_match: @@ -462,21 +462,20 @@ Proof. + eapply exec_step_external; eauto. Qed. -End PRESERVATION_ASMVLIW. +End PRESERVATION_ASMVLIW.*) Section PRESERVATION. +Variable lk: aarch64_linker. Variables prog tprog: program. Hypothesis TRANSL: match_prog prog tprog. Let ge := Genv.globalenv prog. Let tge := Genv.globalenv tprog. Theorem transf_program_correct: - forward_simulation (Asmblock.semantics prog) (Asmvliw.semantics tprog). + forward_simulation (Asmblock.semantics lk prog) (Asmblock.semantics lk tprog). Proof. - eapply compose_forward_simulations. eapply transf_program_correct_Asmblock; eauto. - eapply transf_program_correct_Asmvliw; eauto. Qed. -End PRESERVATION.*) +End PRESERVATION. |