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

Indicate GCMODE output for non-X caps #377

Merged
merged 2 commits into from
Sep 20, 2024
Merged
Changes from all commits
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
12 changes: 6 additions & 6 deletions src/insns/gcmode_32bit.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ Encoding::
include::wavedrom/gcmode.adoc[]

Description::
Decode the CHERI execution mode from the capability in `cs1` and write
the result to `rd`. The output in `rd` is {CAP_MODE_VALUE} if the CHERI
execution mode of the capability in `cs1` is
{cheri_cap_mode_name} and {INT_MODE_VALUE} if the mode
is {cheri_int_mode_name}. It is not required that `cs1`
has its tag set to 1.
Decode the CHERI execution mode from the capability in `cs1` and write the
result to `rd`. It is not required that `cs1` has its tag set to 1. The output
in `rd` is 0 if the capability in `cs1` does not have <<x_perm>> set or the
AP field cannot be produced by <<ACPERM>>; otherwise, the output is
{CAP_MODE_VALUE} if `cs1` 's CHERI execution mode is {cheri_cap_mode_name} or
{INT_MODE_VALUE} if the mode is {cheri_int_mode_name}.

Exceptions::
include::require_cre.adoc[]
Expand Down
Loading