Skip to content

Commit b8680f8

Browse files
Update src/insns/acperm_32bit.adoc
Co-authored-by: Alexander Richardson <mail@alexrichardson.me> Signed-off-by: Tariq Kurd <tariqandlaura@gmail.com>
1 parent 5ef0606 commit b8680f8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/insns/acperm_32bit.adoc

+5-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ clear all AP permissions, and the <<m_bit>> to {CAP_MODE_VALUE}. Skip the next s
3434
. Encode the AP permissions for RV32 according to <<cap_perms_encoding32>>.
3535
. Copy `cs1` to `cd`, and update the AP and SDP fields with the newly calculated versions.
3636
. Set `cd.tag=0` if `cs1` is sealed or if any reserved fields of `cs1` are set.
37-
37+
+
38+
Some combinations of permissions cannot be encoded for MXLEN=32, and are not useful when MXLEN=64.
39+
These cases are defined to return useful minimal sets of permissions, which may be no permissions.
40+
+
41+
NOTE: Future extensions may allow more combinations of permissions, especially for MXLEN=64.
3842
The rules from <<acperm_rules>> must be followed when removing permissions.
3943

4044
[#acperm_rules]

0 commit comments

Comments
 (0)