From 80db8e4b9a2321f0b102e97b70181fe368a077b4 Mon Sep 17 00:00:00 2001 From: Léo Gourdin Date: Mon, 1 Mar 2021 09:27:39 +0100 Subject: Proof of fsval condition cmp ok --- riscV/Asmgenproof1.v | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'riscV/Asmgenproof1.v') diff --git a/riscV/Asmgenproof1.v b/riscV/Asmgenproof1.v index 35c5b9d6..a826455e 100644 --- a/riscV/Asmgenproof1.v +++ b/riscV/Asmgenproof1.v @@ -1258,10 +1258,11 @@ Opaque Int.eq. { exploit transl_cond_op_correct; eauto. intros (rs' & A & B & C). exists rs'; split. eexact A. eauto with asmgen. } (* Expanded instructions from RTL *) - 7: econstructor; split; try apply exec_straight_one; simpl; eauto; - split; intros; Simpl; rewrite Int.add_commut; auto. - 13: econstructor; split; try apply exec_straight_one; simpl; eauto; - split; intros; Simpl; rewrite Int64.add_commut; auto. + 7,8,15,16: + econstructor; split; try apply exec_straight_one; simpl; eauto; + split; intros; Simpl; unfold may_undef_int; try destruct is_long; simpl; + try rewrite Int.add_commut; try rewrite Int64.add_commut; + destruct (rs (preg_of m0)); try discriminate; eauto. all: destruct optR0 as [[]|]; unfold apply_bin_r0_r0r0, apply_bin_r0; econstructor; split; try apply exec_straight_one; simpl; eauto; split; intros; Simpl. -- cgit