projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
439dfd5
)
add new svstep mode setting up pack/unpack
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 18 Sep 2022 19:18:49 +0000
(20:18 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 18 Sep 2022 19:20:11 +0000
(20:20 +0100)
in simplev.mdwn pseudocode
openpower/isa/simplev.mdwn
patch
|
blob
|
history
diff --git
a/openpower/isa/simplev.mdwn
b/openpower/isa/simplev.mdwn
index 8572d690cacd0991afc3fa658d991d56765b5be1..111212f865a1c3eda550e82673788655ec27b63f 100644
(file)
--- 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: