Skip to content

Commit

Permalink
Update src/insns/acperm_32bit.adoc
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Richardson <[email protected]>
Signed-off-by: Tariq Kurd <[email protected]>
  • Loading branch information
tariqkurd-repo and arichardson authored Nov 4, 2024
1 parent 5ef0606 commit b8680f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/insns/acperm_32bit.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ clear all AP permissions, and the <<m_bit>> to {CAP_MODE_VALUE}. Skip the next s
. Encode the AP permissions for RV32 according to <<cap_perms_encoding32>>.
. Copy `cs1` to `cd`, and update the AP and SDP fields with the newly calculated versions.
. Set `cd.tag=0` if `cs1` is sealed or if any reserved fields of `cs1` are set.

+
Some combinations of permissions cannot be encoded for MXLEN=32, and are not useful when MXLEN=64.
These cases are defined to return useful minimal sets of permissions, which may be no permissions.
+
NOTE: Future extensions may allow more combinations of permissions, especially for MXLEN=64.
The rules from <<acperm_rules>> must be followed when removing permissions.

[#acperm_rules]
Expand Down

0 comments on commit b8680f8

Please sign in to comment.