Skip to content

Commit

Permalink
C.SC was also missing the text, and needed further cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqkurd-repo committed Oct 29, 2024
1 parent 7ad57f9 commit 207d134
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
15 changes: 13 additions & 2 deletions src/insns/store_16bit_cap_sprel.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,22 @@ include::xlen_variable_warning.adoc[]
Encoding::
include::wavedrom/c-sp-store-cap.adoc[]

include::store_cap_cap_description.adoc[]
{cheri_cap_mode_name} Description::
Store the CLEN+1 bit value in `cs2'` to memory. The capability in `cs1/csp`
authorizes the operation. The effective address of the memory access is
obtained by adding the address of `cs1/csp` to the sign-extended 12-bit offset.

NOTE: These mnemonics do not exist in {cheri_int_mode_name}.

:cap_store:
Tag of the written capability value::

The capability written to memory has the tag set to 0 if the tag of `cs2'` is 0 or if the authorizing capability (`cs1/csp`) does not grant <<c_perm>>.
+
The stored tag is also set to zero if the authorizing capability does not have <<sl_perm>> set but the stored data has a <<section_cap_level>> of 0 (_local_).

include::malformed_no_check.adoc[]

:has_cap_data:
include::store_exceptions.adoc[]

Prerequisites::
Expand Down
2 changes: 0 additions & 2 deletions src/insns/store_cap_cap_description.adoc

This file was deleted.

0 comments on commit 207d134

Please sign in to comment.