From 2a0168fea37b68ad14e2cb60bf215111e49d4870 Mon Sep 17 00:00:00 2001 From: xleroy Date: Wed, 23 Jul 2014 08:54:56 +0000 Subject: Merge of "newspilling" branch: - Support single-precision floats as first-class values - Introduce chunks Many32, Many64 and types Tany32, Tany64 to support saving and restoring registers without knowing the exact types (int/single/float) of their contents, just their sizes. - Memory model: generalize the opaque encoding of pointers to apply to any value, not just pointers, if chunks Many32/Many64 are selected. - More properties of FP arithmetic proved. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2537 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- ia32/Asmgenproof.v | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'ia32/Asmgenproof.v') diff --git a/ia32/Asmgenproof.v b/ia32/Asmgenproof.v index 881375f0..eba710a1 100644 --- a/ia32/Asmgenproof.v +++ b/ia32/Asmgenproof.v @@ -168,11 +168,7 @@ Remark loadind_label: loadind base ofs ty dst k = OK c -> tail_nolabel k c. Proof. - unfold loadind; intros. destruct ty. - TailNoLabel. - destruct (preg_of dst); TailNoLabel. - discriminate. - TailNoLabel. + unfold loadind; intros. destruct ty; try discriminate; destruct (preg_of dst); TailNoLabel. Qed. Remark storeind_label: @@ -180,11 +176,7 @@ Remark storeind_label: storeind src base ofs ty k = OK c -> tail_nolabel k c. Proof. - unfold storeind; intros. destruct ty. - TailNoLabel. - destruct (preg_of src); TailNoLabel. - discriminate. - TailNoLabel. + unfold storeind; intros. destruct ty; try discriminate; destruct (preg_of src); TailNoLabel. Qed. Remark mk_setcc_base_label: @@ -220,6 +212,8 @@ Proof. destruct (Int.eq_dec i Int.zero); TailNoLabel. destruct c0; simpl; TailNoLabel. destruct c0; simpl; TailNoLabel. + destruct c0; simpl; TailNoLabel. + destruct c0; simpl; TailNoLabel. Qed. Remark transl_op_label: @@ -230,6 +224,7 @@ Proof. unfold transl_op; intros. destruct op; TailNoLabel. destruct (Int.eq_dec i Int.zero); TailNoLabel. destruct (Float.eq_dec f Float.zero); TailNoLabel. + destruct (Float32.eq_dec f Float32.zero); TailNoLabel. eapply tail_nolabel_trans. eapply transl_cond_label; eauto. eapply mk_setcc_label. Qed. -- cgit