diff options
author | Léo Gourdin <leo.gourdin@univ-grenoble-alpes.fr> | 2021-03-06 12:36:11 +0100 |
---|---|---|
committer | Léo Gourdin <leo.gourdin@univ-grenoble-alpes.fr> | 2021-03-06 12:36:11 +0100 |
commit | c19ecc9326d0278989d7651bf8c8cf0d1c387235 (patch) | |
tree | 479bd06ca0ed2e2d14900a78c93914537e4a7d91 /riscV/Asmgenproof1.v | |
parent | 3e953ef41f736ed5b7db699b1adf21d46cb5b8db (diff) | |
download | compcert-kvx-c19ecc9326d0278989d7651bf8c8cf0d1c387235.tar.gz compcert-kvx-c19ecc9326d0278989d7651bf8c8cf0d1c387235.zip |
Adding a mini CSE pass in the expansion oracle
Diffstat (limited to 'riscV/Asmgenproof1.v')
-rw-r--r-- | riscV/Asmgenproof1.v | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/riscV/Asmgenproof1.v b/riscV/Asmgenproof1.v index f0def29b..20d9e1da 100644 --- a/riscV/Asmgenproof1.v +++ b/riscV/Asmgenproof1.v @@ -641,11 +641,11 @@ Opaque Int.eq. apply exec_straight_one. simpl; reflexivity. auto. split; intros; Simpl. } (* Expanded instructions from RTL *) - 7,8,15,16: + 7,14: econstructor; split; try apply exec_straight_one; simpl; eauto; - split; intros; Simpl; unfold may_undef_int; try destruct is_long; simpl; + split; intros; Simpl; simpl; try rewrite Int.add_commut; try rewrite Int64.add_commut; - destruct (rs (preg_of m0)); try discriminate; eauto. + auto. 1-12: destruct optR0 as [[]|]; unfold apply_bin_r0_r0r0, apply_bin_r0; econstructor; split; try apply exec_straight_one; simpl; eauto; |