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:
3c9acf8
)
put back overflow in setvl, TODO actually set an overflow variable
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 26 Aug 2022 14:18:32 +0000
(15:18 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 26 Aug 2022 14:18:32 +0000
(15:18 +0100)
openpower/isa/simplev.mdwn
patch
|
blob
|
history
diff --git
a/openpower/isa/simplev.mdwn
b/openpower/isa/simplev.mdwn
index b78063ddde5298b04e77081a3a32f83d1690ca02..6169c2e313da36cbf08447d62a8f20f9da681e97 100644
(file)
--- a/
openpower/isa/simplev.mdwn
+++ b/
openpower/isa/simplev.mdwn
@@
-37,6
+37,9
@@
Pseudo-code:
else MVL <- SVSTATE[0:6]
# set or get VL
if vs = 0 then VL <- SVSTATE[7:13]
+ else if _RA != 0 then
+ if (RA) >u 0b1111111 then VL <- 0b1111111
+ else VL <- (RA)[57:63]
else if _RA != 0 then VL <- (RA)[57:63]
else if _RT = 0 then VL <- VLimm[0:6]
else if CTR >u 0b1111111 then VL <- 0b1111111