From: lkcl Date: Sun, 17 Jul 2022 09:57:41 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~1172 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ccadf5a6f24efab11ae0638c2214da85d1180dc;p=libreriscv.git --- diff --git a/openpower/sv/sprs.mdwn b/openpower/sv/sprs.mdwn index 53f812a09..e6913af39 100644 --- a/openpower/sv/sprs.mdwn +++ b/openpower/sv/sprs.mdwn @@ -7,7 +7,7 @@ Note OpenPOWER v3.1 p12: The designated SPR sandbox consists of non-privileged SPRs 704-719 and privileged SPRs 720-735. -There are five SPRs, available in any privilege level: +There are eight SPRs, available in any privilege level: * SVSTATE (containing copies of MVL, VL and SUBVL as well as context information) * SVSRR0 which is used for exceptions and traps to store SVSTATE. @@ -15,6 +15,9 @@ There are five SPRs, available in any privilege level: * SVSHAPE0-3 for REMAP purposes, re-shaping Vector loops * SVREMAP for applying specific shapes to specific registers +If SVSTATE is all zeros then SV is disabled and the contents of the +other SPRs SVSHAPE/SVREMAP are ignored. + For Privilege Levels (trap handling) there are the following SPRs, where x may be u, s or h for User, Supervisor or Hypervisor Modes respectively: @@ -28,7 +31,7 @@ of its (x)eSTATE are swapped with SVSTATE. # SVSTATE -This is a standard SPR that contains sufficient information for a +This is a standard SPR that (REMAP aside) contains sufficient information for a full context save/restore (see SVSRR0). It contains (and permits setting of): * MVL (the Maximum Vector Length) - declares (statically) how