Skip to content

Commit

Permalink
Merge pull request #164 from ved-rivos/no_zicfiss_wo_s
Browse files Browse the repository at this point in the history
Zicfiss use in U-mode require S-mode to be supported
  • Loading branch information
ved-rivos authored Oct 17, 2023
2 parents 9eeca14 + 1fba3bf commit f0582df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cfi_backward.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ instructions revert to their Zimop/Zcmop defined behavior. This allows a
compiled with Zicfiss instructions to operate correctly but without
backward-edge control-flow integrity.

The Zicfiss extension depends on the A, Zicsr, Zimop, and Zcmop extensions.
The Zicfiss extension has dependencies on the following extensions: A, Zicsr,
Zimop, and Zcmop. Additionally, use of Zicfiss in U-mode requires S-mode to be
supported.

=== Zicfiss Instructions Summary

Expand Down Expand Up @@ -263,7 +265,7 @@ When S-mode is not supported, it is determined as follows:
|===
|Privilege Mode| xSSE
| M | `1`
| U | `menvcfg.SSE`
| U | `0`
|===

[NOTE]
Expand Down

0 comments on commit f0582df

Please sign in to comment.