From: Luke Kenneth Casson Leighton Date: Sun, 18 Sep 2022 19:18:49 +0000 (+0100) Subject: add new svstep mode setting up pack/unpack X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1deda3364b7cbd80096b7d91f33ecc0336b0f3a5;p=openpower-isa.git add new svstep mode setting up pack/unpack in simplev.mdwn pseudocode --- diff --git a/openpower/isa/simplev.mdwn b/openpower/isa/simplev.mdwn index 8572d690..111212f8 100644 --- a/openpower/isa/simplev.mdwn +++ b/openpower/isa/simplev.mdwn @@ -10,8 +10,14 @@ SVL-Form Pseudo-code: - step <- SVSTATE_NEXT(SVi, vf) - RT <- [0]*57 || step + if SVi[3:4] = 0b11 then + # store subvl, pack and unpack in SVSTATE + SVSTATE[53] <- SVi[5] + SVSTATE[54] <- SVi[6] + RT <- [0]*62 || SVSTATE[53:54] + else + step <- SVSTATE_NEXT(SVi, vf) + RT <- [0]*57 || step Special Registers Altered: