aboutsummaryrefslogtreecommitdiffstats
path: root/mppa_k1c/Asmblockgenproof1.v
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-05-01 17:04:34 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-05-01 17:04:34 +0200
commit667c260620b545c04355dd030fc4430790a3a055 (patch)
tree71729199f610fc8c790502f0e41e1530eaf2ae3f /mppa_k1c/Asmblockgenproof1.v
parent26a7a6598a80c29a139c533419b38be63c88cd76 (diff)
downloadcompcert-kvx-667c260620b545c04355dd030fc4430790a3a055.tar.gz
compcert-kvx-667c260620b545c04355dd030fc4430790a3a055.zip
translate load.xs
Diffstat (limited to 'mppa_k1c/Asmblockgenproof1.v')
-rw-r--r--mppa_k1c/Asmblockgenproof1.v7
1 files changed, 6 insertions, 1 deletions
diff --git a/mppa_k1c/Asmblockgenproof1.v b/mppa_k1c/Asmblockgenproof1.v
index 0cb2d83d..5e44b7a5 100644
--- a/mppa_k1c/Asmblockgenproof1.v
+++ b/mppa_k1c/Asmblockgenproof1.v
@@ -2168,7 +2168,12 @@ Lemma transl_load_memory_access_ok:
Proof.
intros until m. intros ADDR TR ? ?.
unfold transl_load in TR. destruct addr; try contradiction.
- - (* Indexed2XS*) monadInv TR.
+ - monadInv TR.
+ destruct chunk;
+ simpl in EQ0;
+ ArgsInv;
+ try discriminate;
+ econstructor; (esplit; eauto).
- monadInv TR. destruct chunk; ArgsInv; econstructor; (esplit; eauto).
- monadInv TR. destruct chunk. all: ArgsInv; destruct args; try discriminate; monadInv EQ0; eexists; eexists; split; try split;
[ instantiate (1 := (PLoadRRO _ x)); simpl; reflexivity