diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2014-04-06 18:32:27 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2014-04-06 18:32:27 +0000 |
commit | 76f49ca6af4ffbc77c0ba7965d409c3de04011bd (patch) | |
tree | d2167acae5dc5c02995fa12c30472a9e7d5a7d47 /ia32/ConstpropOpproof.v | |
parent | 6bad7ed856e016aab1d947c57d373baecf7c98c4 (diff) | |
download | compcert-76f49ca6af4ffbc77c0ba7965d409c3de04011bd.tar.gz compcert-76f49ca6af4ffbc77c0ba7965d409c3de04011bd.zip |
Support Onot operator / notl instruction. More constant propagation during selection.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2451 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'ia32/ConstpropOpproof.v')
-rw-r--r-- | ia32/ConstpropOpproof.v | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ia32/ConstpropOpproof.v b/ia32/ConstpropOpproof.v index 148a08d9..6a83c1a1 100644 --- a/ia32/ConstpropOpproof.v +++ b/ia32/ConstpropOpproof.v @@ -309,6 +309,8 @@ Proof. intros; unfold make_xorimm. predSpec Int.eq Int.eq_spec n Int.zero; intros. subst n. exists (e#r); split; auto. destruct (e#r); simpl; auto. rewrite Int.xor_zero; auto. + predSpec Int.eq Int.eq_spec n Int.mone; intros. + subst n. exists (Val.notint e#r); split; auto. econstructor; split; eauto. auto. Qed. |