Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenConoly committed Jan 9, 2025
1 parent 430cdb2 commit bf14086
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions compiler/src/compiler/FlatToRiscvLiterals.v
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Section FlatToRiscvLiterals.
simpl_word_exprs word_ok.
match_apply_runsTo.
erewrite signExtend_nop; eauto; try blia.
Tactics.destruct_one_match; try reflexivity.
destruct_one_match; reflexivity.
- unfold compile_lit_32bit, leak_lit_32bit in *.
simpl in P.
run1det. run1det.
Expand Down Expand Up @@ -145,7 +145,7 @@ Section FlatToRiscvLiterals.
}
+ solve_word_eq word_ok.
+ solve_word_eq word_ok.
+ simpl. repeat Tactics.destruct_one_match || reflexivity.
+ simpl. destruct_one_match; reflexivity.
- unfold compile_lit_64bit, leak_lit_64bit, compile_lit_32bit, compile_lit_32bit in *.
remember (signExtend 12 (signExtend 32 (bitSlice v 32 64))) as mid.
remember (signExtend 32 (signExtend 32 (bitSlice v 32 64))) as hi.
Expand Down Expand Up @@ -189,8 +189,7 @@ Section FlatToRiscvLiterals.
all: Btauto.btauto.
+ solve_word_eq word_ok.
+ solve_word_eq word_ok.
+ repeat Tactics.destruct_one_match || reflexivity.
(*^this is kind of absurd; I should be able to rewrite somethign to get rid of it*)
+ destruct_one_match; reflexivity.
Qed.

Lemma compile_lit_correct_full: forall (initialL: RiscvMachineL) post x v R Rexec,
Expand Down

0 comments on commit bf14086

Please sign in to comment.