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:
c990162
)
whoops VL incorrect in svshape markdown RTL for matrix REMAP
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 28 Sep 2022 13:11:55 +0000
(14:11 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 28 Sep 2022 13:18:45 +0000
(14:18 +0100)
openpower/isa/simplev.mdwn
patch
|
blob
|
history
diff --git
a/openpower/isa/simplev.mdwn
b/openpower/isa/simplev.mdwn
index e2b68ab32c7266d61a28f1aaa880d7151fa83347..9bb14d930bad45b49e951e6f9ed75ccef74224e6 100644
(file)
--- a/
openpower/isa/simplev.mdwn
+++ b/
openpower/isa/simplev.mdwn
@@
-126,7
+126,10
@@
Pseudo-code:
# set schedule up for multiply
if (SVrm = 0b0000) then
# VL in Matrix Multiply is xd*yd*zd
- n <- (0b00 || SVxd) * (0b00 || SVyd) * (0b00 || SVzd)
+ xd <- (0b00 || SVxd) + 1
+ yd <- (0b00 || SVyd) + 1
+ zd <- (0b00 || SVzd) + 1
+ n <- xd * yd * zd
vlen[0:6] <- n[14:20]
# set up template in SVSHAPE0, then copy to 1-3
SVSHAPE0[0:5] <- (0b0 || SVxd) # xdim