Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify rs2 values for scmode #382

Merged
merged 2 commits into from
Sep 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/insns/scmode_32bit.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ Encoding::
include::wavedrom/scmode.adoc[]

Description::
Copy `cs1` to `cd`. Clear `cd.tag` if `cs1` is sealed.
Update the <<m_bit>> of `cd` to the least significant bit of
`rs2` if the two following conditions are met, otherwise do not update it:
Copy `cs1` to `cd`. Clear `cd.tag` if `cs1` is sealed. Update the <<m_bit>> of
`cd` to {cheri_cap_mode_name} if the least significant bit of `rs2` is
{CAP_MODE_VALUE} and to {cheri_cap_mode_name} if the bit is {INT_MODE_VALUE}
andresag01 marked this conversation as resolved.
Show resolved Hide resolved
andresag01 marked this conversation as resolved.
Show resolved Hide resolved
provided that the following conditions are met, otherwise do not update the
<<m_bit>>:
. <<x_perm>> is set
. The existing permissions can be produced by <<ACPERM>>

Expand Down
Loading