summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2012-05-18 16:25:17 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2012-05-18 16:25:17 +0000
commit219a2d178dcd5cc625f6b6261759f392cfca367b (patch)
tree9f291936f23bdb6ee1a3c6bf996668235909ed98 /common
parente521f0bc060ead051102e4d68b98bb40ecc802b3 (diff)
Hack with nxor
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1898 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'common')
-rw-r--r--common/Values.v5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/Values.v b/common/Values.v
index 54eac86..1e274ad 100644
--- a/common/Values.v
+++ b/common/Values.v
@@ -740,6 +740,11 @@ Proof.
decEq. apply Int.xor_assoc.
Qed.
+Theorem not_xor: forall x, notint x = xor x (Vint Int.mone).
+Proof.
+ destruct x; simpl; auto.
+Qed.
+
Theorem shl_mul: forall x y, mul x (shl Vone y) = shl x y.
Proof.
destruct x; destruct y; simpl; auto.