Skip to content

Commit a4f1498

Browse files
authored
fix: misa[M,S,U,V] wrong offset bits (#630)
1 parent c09d447 commit a4f1498

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arch/csr/misa.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ fields:
134134
definedBy: I
135135
reset_value: 1
136136
M:
137-
location: 13
137+
location: 12
138138
description: |
139139
Indicates support for the `M` (integer multiply/divide) extension.
140140
@@ -146,7 +146,7 @@ fields:
146146
return implemented?(ExtensionName::M) ? 1 : 0;
147147
definedBy: M
148148
S:
149-
location: 19
149+
location: 18
150150
description: |
151151
Indicates support for the `S` (supervisor mode) extension.
152152
@@ -158,7 +158,7 @@ fields:
158158
return implemented?(ExtensionName::S) ? 1 : 0;
159159
definedBy: S
160160
U:
161-
location: 21
161+
location: 20
162162
description: |
163163
Indicates support for the `U` (user mode) extension.
164164
@@ -170,7 +170,7 @@ fields:
170170
return implemented?(ExtensionName::U) ? 1 : 0;
171171
definedBy: U
172172
V:
173-
location: 22
173+
location: 21
174174
description: |
175175
Indicates support for the `V` (vector) extension.
176176

0 commit comments

Comments
 (0)