-
Notifications
You must be signed in to change notification settings - Fork 706
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
vendor/patches/riscv/riscv-isa-sim/0007-SPIKE-Fix-decoder-cvxif.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/vendor/riscv/riscv-isa-sim/customext/cvxif.cc b/vendor/riscv/riscv-isa-sim/customext/cvxif.cc | ||
index b1bef8e6..20aea89c 100644 | ||
--- a/vendor/riscv/riscv-isa-sim/customext/cvxif.cc | ||
+++ b/vendor/riscv/riscv-isa-sim/customext/cvxif.cc | ||
@@ -101,7 +101,7 @@ class cvxif_t : public cvxif_extn_t | ||
case FUNC3_0: | ||
switch (r_insn.funct7 & 0x1) { | ||
case NO_RS3: | ||
- switch (r_insn.funct7 & 0xe) { | ||
+ switch (r_insn.funct7 & 0x7e) { | ||
case CUS_NOP: | ||
break; | ||
case CUS_U_ADD: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters