Skip to content

Commit 8485dbc

Browse files
fix(bug): fixed type of excepetion cbo.inval should throw when mode!=M and menvfg.CBIE==0 (riscv-software-src#1040)
Closes riscv-software-src#1031
1 parent 66e47be commit 8485dbc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

backends/instructions_appendix/all_instructions.golden.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
= Instruction Appendix
22
:doctype: book
3-
:wavedrom: /home/hbg/Projects/riscv-unified-db/node_modules/.bin/wavedrom-cli
3+
:wavedrom: /workspaces/riscv-unified-db/node_modules/.bin/wavedrom-cli
44
// Now the document header is complete and the wavedrom attribute is active.
55

66

@@ -5860,7 +5860,7 @@ The table below summarizes the options.
58605860
5+^.>h! `cbe.inval` Operation
58615861
.^h! M-mode .^h! S-mode .^h! U-mode .^h! VS-mode .^h! VU-mode
58625862

5863-
! 00 ! - ! - ! Invalidate ! `Illegal Instruction` ! `Illegal Instruction` ! `Virtual Instruction` ! `Virtual Instruction`
5863+
! 00 ! - ! - ! Invalidate ! `Illegal Instruction` ! `Illegal Instruction` ! `Illegal Instruction` ! `Illegal Instruction`
58645864
! 01 ! 00 ! 00 ! Invalidate ! Flush ! `Illegal Instruction` ! `Virtual Instruction` ! `Virtual Instruction`
58655865
! 01 ! 00 ! 01 ! Invalidate ! Flush ! `Illegal Instruction` ! Flush ! `Virtual Instruction`
58665866
! 01 ! 00 ! 11 ! Invalidate ! Flush ! `Illegal Instruction` ! Flush ! `Virtual Instruction`

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec/std/isa/inst/Zicbom/cbo.inval.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ description: |
2828
5+^.>h! `cbe.inval` Operation
2929
.^h! M-mode .^h! S-mode .^h! U-mode .^h! VS-mode .^h! VU-mode
3030
31-
! 00 ! - ! - ! Invalidate ! `Illegal Instruction` ! `Illegal Instruction` ! `Virtual Instruction` ! `Virtual Instruction`
31+
! 00 ! - ! - ! Invalidate ! `Illegal Instruction` ! `Illegal Instruction` ! `Illegal Instruction` ! `Illegal Instruction`
3232
! 01 ! 00 ! 00 ! Invalidate ! Flush ! `Illegal Instruction` ! `Virtual Instruction` ! `Virtual Instruction`
3333
! 01 ! 00 ! 01 ! Invalidate ! Flush ! `Illegal Instruction` ! Flush ! `Virtual Instruction`
3434
! 01 ! 00 ! 11 ! Invalidate ! Flush ! `Illegal Instruction` ! Flush ! `Virtual Instruction`
@@ -98,7 +98,7 @@ access_detail: |
9898
4+^.>h! `cbo.inval` Instruction Behavior
9999
.^h! S-mode .^h! U-mode .^h! VS-mode .^h! VU-mode
100100
101-
! 00 ! - ! - ! `Illegal Instruction` ! `Illegal Instruction` ! `Virtual Instruction` ! `Virtual Instruction`
101+
! 00 ! - ! - ! `Illegal Instruction` ! `Illegal Instruction` ! `Illegal Instruction` ! `Illegal Instruction`
102102
! 01/11 ! 00 ! 00 ! executes ! `Illegal Instruction` ! `Virtual Instruction` ! `Virtual Instruction`
103103
! 01/11 ! 01/11 ! 00 ! executes ! executes ! `Virtual Instruction` ! `Virtual Instruction`
104104
! 01/11 ! 00 ! 01/11 ! executes ! `Illegal Instruction` ! executes ! `Virtual Instruction`

0 commit comments

Comments
 (0)