aboutsummaryrefslogtreecommitdiffstats
path: root/backend/Stackingproof.v
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2018-03-01 14:45:06 +0100
committerCyril SIX <cyril.six@kalray.eu>2018-04-04 16:30:06 +0200
commit917859721f6423b24788ec6219774b5196b02ec1 (patch)
treeddaeb091c9d2bb61ef77796cdb1833612c6c4bfb /backend/Stackingproof.v
parentf1d3dbb3fa70233d1ad83ae88876dd384346a16a (diff)
downloadcompcert-kvx-917859721f6423b24788ec6219774b5196b02ec1.tar.gz
compcert-kvx-917859721f6423b24788ec6219774b5196b02ec1.zip
MPPA - Machregs + Conventions1 + backend proof tweaking
Diffstat (limited to 'backend/Stackingproof.v')
-rw-r--r--backend/Stackingproof.v7
1 files changed, 6 insertions, 1 deletions
diff --git a/backend/Stackingproof.v b/backend/Stackingproof.v
index f7570f57..6d46d04d 100644
--- a/backend/Stackingproof.v
+++ b/backend/Stackingproof.v
@@ -1925,10 +1925,15 @@ Proof.
exact symbols_preserved. eauto.
econstructor; eauto with coqlib.
apply agree_regs_set_reg; auto.
+ (* FIXME - MPPA specific *)
+ replace (destroyed_by_op op) with (@nil mreg).
+ replace (LTL.undef_regs nil rs) with rs.
+ apply agree_locs_set_reg; auto. auto. auto.
+(* (* The generic proof is there *)
rewrite transl_destroyed_by_op. apply agree_regs_undef_regs; auto.
apply agree_locs_set_reg; auto. apply agree_locs_undef_locs. auto. apply destroyed_by_op_caller_save.
apply frame_set_reg. apply frame_undef_regs. exact SEP.
-
+*)
- (* Lload *)
assert (exists a',
eval_addressing ge (Vptr sp' Ptrofs.zero) (transl_addr (make_env (function_bounds f)) addr) rs0##args = Some a'