diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2015-03-27 15:28:20 +0100 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2015-03-27 15:28:20 +0100 |
commit | e11b3b885a6d359925b86743b89698cc6757157a (patch) | |
tree | 4729067203418873c940aa27d45085ca9881905d /powerpc/Asmgenproof.v | |
parent | 33b742bb41725e47bd88dc12f2a4f40173023f83 (diff) | |
download | compcert-e11b3b885a6d359925b86743b89698cc6757157a.tar.gz compcert-e11b3b885a6d359925b86743b89698cc6757157a.zip |
Updating the PowerPC and ARM ports.
PowerPC: always use full register names to print annotations.
Diffstat (limited to 'powerpc/Asmgenproof.v')
-rw-r--r-- | powerpc/Asmgenproof.v | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/powerpc/Asmgenproof.v b/powerpc/Asmgenproof.v index c7439c3d..27b32ba1 100644 --- a/powerpc/Asmgenproof.v +++ b/powerpc/Asmgenproof.v @@ -778,13 +778,16 @@ Hint Resolve agree_nextinstr agree_set_other: asmgen. inv AT. monadInv H4. exploit functions_transl; eauto. intro FN. generalize (transf_function_no_overflow _ _ H3); intro NOOV. - exploit annot_arguments_match; eauto. intros [vargs' [P Q]]. - exploit external_call_mem_extends'; eauto. + exploit annot_args_match; eauto. intros [vargs' [P Q]]. + exploit external_call_mem_extends; eauto. intros [vres' [m2' [A [B [C D]]]]]. left. econstructor; split. apply plus_one. eapply exec_step_annot. eauto. eauto. eapply find_instr_tail; eauto. eauto. - eapply external_call_symbols_preserved'; eauto. + erewrite <- sp_val by eauto. + eapply eval_annot_args_preserved with (ge1 := ge); eauto. + exact symbols_preserved. + eapply external_call_symbols_preserved; eauto. exact symbols_preserved. exact public_preserved. exact varinfo_preserved. eapply match_states_intro with (ep := false); eauto with coqlib. unfold nextinstr. rewrite Pregmap.gss. |