diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-03-10 12:13:12 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2013-03-10 12:13:12 +0000 |
commit | 02779dbc71c0f6985427c47ec05dd25b44dd859c (patch) | |
tree | cdff116e8c7e5d82ae6943428018f39d1ce81d60 /powerpc/Asmgenproof1.v | |
parent | e29b0c71f446ea6267711c7cc19294fd93fb81ad (diff) |
Glasnost: making transparent a number of definitions that were opaque
for no good reason.
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2140 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'powerpc/Asmgenproof1.v')
-rw-r--r-- | powerpc/Asmgenproof1.v | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/powerpc/Asmgenproof1.v b/powerpc/Asmgenproof1.v index 1e16a0d..0e6d3e1 100644 --- a/powerpc/Asmgenproof1.v +++ b/powerpc/Asmgenproof1.v @@ -84,7 +84,7 @@ Proof. set (x := Int.sub n (low_s n)). assert (x = Int.add (Int.mul (Int.divu x (Int.repr 65536)) (Int.repr 65536)) (Int.modu x (Int.repr 65536))). - apply Int.modu_divu_Euclid. compute; congruence. + apply Int.modu_divu_Euclid. vm_compute; congruence. assert (Int.modu x (Int.repr 65536) = Int.zero). unfold Int.modu, Int.zero. decEq. change 0 with (0 mod 65536). @@ -710,6 +710,7 @@ Proof. assert (Int.unsigned (Int.not i) <> Int.modulus - 1). red; intros. assert (Int.repr (Int.unsigned (Int.not i)) = Int.mone). +Local Transparent Int.repr. rewrite H1. apply Int.mkint_eq. reflexivity. rewrite Int.repr_unsigned in H2. assert (Int.not (Int.not i) = Int.zero). @@ -813,7 +814,7 @@ Lemma transl_op_correct_aux: match op with Omove => data_preg r = true | _ => nontemp_preg r = true end -> r <> preg_of res -> rs'#r = rs#r. Proof. -Opaque Int.eq. Opaque Int.repr. +Opaque Int.eq. intros. unfold transl_op in H; destruct op; ArgsInv; simpl in H0; try (inv H0); try TranslOpSimpl. (* Omove *) destruct (preg_of res) eqn:RES; destruct (preg_of m0) eqn:ARG; inv H. |