diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-03-31 11:49:21 +0200 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-03-31 11:49:21 +0200 |
commit | 7de591569308917c9ffcd4626c94872e390811a2 (patch) | |
tree | 0c9f226d5d82e52fff7d2c3b1f655962e6f93a7e /backend/Injectproof.v | |
parent | 764b167efe9edb3d0d20e8ea37263320c42f3036 (diff) | |
download | compcert-kvx-7de591569308917c9ffcd4626c94872e390811a2.tar.gz compcert-kvx-7de591569308917c9ffcd4626c94872e390811a2.zip |
INJnop
Diffstat (limited to 'backend/Injectproof.v')
-rw-r--r-- | backend/Injectproof.v | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/backend/Injectproof.v b/backend/Injectproof.v index 51d049b1..7ce401cb 100644 --- a/backend/Injectproof.v +++ b/backend/Injectproof.v @@ -742,7 +742,11 @@ Section INJECTOR. (State ts tf sp (Pos.succ pc) trs' m) /\ match_regs (f : function) trs trs'. Proof. - destruct ii as [op args res | chunk addr args res]; simpl; intros. + destruct ii as [ |op args res | chunk addr args res]; simpl; intros. + - exists trs. + split. + * apply exec_Inop; assumption. + * apply match_regs_refl. - repeat rewrite andb_true_iff in VALID. rewrite negb_true_iff in VALID. destruct VALID as (MAX_REG & NOTRAP & LENGTH). |