Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenConoly committed Jan 10, 2025
1 parent 6d7f24c commit 2cf3ffb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions processor/src/processor/KamiRiscvStep.v
Original file line number Diff line number Diff line change
Expand Up @@ -1704,7 +1704,7 @@ Section Equiv.
all: simpl_bit_manip.

(** Evaluation of riscv-coq decode/execute *)

all: eval_decode.
all: try subst opcode; try subst funct3; try subst funct6; try subst funct7;
try subst shamtHi; try subst shamtHiTest.
Expand All @@ -1721,7 +1721,7 @@ Section Equiv.
| H : Z |- _ => clear H
| H : list Instruction |- _ => clear H
| H : Instruction |- _ => clear H
end.
end.

all: set (v' := if Z.eq_dec rs1 0 then word.of_Z 0
else match map.get rrf rs1 with
Expand All @@ -1744,7 +1744,7 @@ Section Equiv.
all: try match goal with
| [H: match Memory.load_bytes ?sz ?m ?a with | Some _ => _ | None => _ end |- _] =>
destruct (Memory.load_bytes sz m a) as [lv|] eqn:Hlv; [exfalso|]
end.
end.
all: subst v; rewrite Hv' in *.
all: try (subst v' oimm12;
regs_get_red Hlv;
Expand Down Expand Up @@ -1898,7 +1898,7 @@ Section Equiv.
| H : Z |- _ => clear H
| H : list Instruction |- _ => clear H
| H : Instruction |- _ => clear H
end.
end.

all: set (v' := if Z.eq_dec rs1 0 then word.of_Z 0
else match map.get rrf rs1 with
Expand Down Expand Up @@ -2166,7 +2166,7 @@ Section Equiv.
| H : Z |- _ => clear H
| H : list Instruction |- _ => clear H
| H : Instruction |- _ => clear H
end.
end.

all: set (v' := if Z.eq_dec rs1 0 then word.of_Z 0
else match map.get rrf rs1 with
Expand Down Expand Up @@ -2657,7 +2657,7 @@ Section Equiv.
| H : Z |- _ => clear H
| H : list Instruction |- _ => clear H
| H : Instruction |- _ => clear H
end.
end.

all: set (v' := if Z.eq_dec rs1 0 then word.of_Z 0
else match map.get rrf rs1 with
Expand Down

0 comments on commit 2cf3ffb

Please sign in to comment.