From f1ceca440c0322001abe6c5de79bd4bc309fc002 Mon Sep 17 00:00:00 2001 From: xleroy Date: Tue, 12 Feb 2013 15:17:33 +0000 Subject: Updated PowerPC port to new integers. Added options -falign-branch-targets and -falign-cond-branches (experimental). git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2113 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- lib/Floats.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Floats.v b/lib/Floats.v index 2c23d45..63375ff 100644 --- a/lib/Floats.v +++ b/lib/Floats.v @@ -816,8 +816,9 @@ Proof. pose proof (Bminus_correct 53 1024 eq_refl eq_refl mode_NE x y) end. apply (fun f x y => f x y) in H3; try apply (fun x => proj2 (from_words_value x)). do 2 rewrite (fun x => proj1 (from_words_value x)) in H3. + rewrite Int.unsigned_zero in H3. replace (bpow radix2 52 + Z2R (Int.unsigned x) - - (bpow radix2 52 + Z2R (Int.unsigned Int.zero)))%R with (Z2R (Int.unsigned x)) in H3 by (simpl; ring). + (bpow radix2 52 + Z2R 0))%R with (Z2R (Int.unsigned x)) in H3 by (simpl; ring). rewrite round_exact in H3 by smart_omega. match goal with [H3:if Rlt_bool ?x ?y then _ else _ |- _] => pose proof (Rlt_bool_spec x y); destruct (Rlt_bool x y) end; destruct H3. -- cgit v1.2.3