Skip to content

Commit 96ba8c3

Browse files
committed
Simplify hartSupports_measure()
1 parent 89d100c commit 96ba8c3

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

model/riscv_termination.sail

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -91,22 +91,14 @@ termination_measure virtual_memory_supported(_) = 3
9191

9292
function hartSupports_measure(ext : extension) -> int =
9393
match ext {
94-
Ext_Zvkned => 0,
95-
Ext_Zvknhb => 0,
96-
Ext_Zvkb => 0,
97-
Ext_Zvkt => 0,
98-
Ext_Zvbc => 0,
99-
Ext_Zvkg => 0,
100-
Ext_Zvksed => 0,
101-
Ext_Zvksh => 0,
10294
Ext_D => 1,
10395
Ext_Zvkn => 1,
10496
Ext_Zvks => 1,
97+
Ext_C => 2,
10598
Ext_Zvknc => 2,
10699
Ext_Zvkng => 2,
107100
Ext_Zvksc => 2,
108101
Ext_Zvksg => 2,
109-
Ext_C => 2,
110102
_ => 0,
111103
}
112104

0 commit comments

Comments
 (0)