From 95c687e573077a94a0d4aed6bde124229f9ae2aa Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 10 Jul 2022 17:17:09 +0100 Subject: [PATCH] fix svindex pseudocode, set large 2nd dim on nonskip --- openpower/isa/simplev.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openpower/isa/simplev.mdwn b/openpower/isa/simplev.mdwn index 8e31fc0f..e2c74294 100644 --- a/openpower/isa/simplev.mdwn +++ b/openpower/isa/simplev.mdwn @@ -280,11 +280,11 @@ Pseudo-code: if yx = 0 then shape[18:20] <- 0b110 # indexed xd/yd shape[0:5] <- (0b0 || SVd) # xdim - if sk = 1 then shape[6:11] <- 0 # ydim + if sk = 0 then shape[6:11] <- 0 # ydim else shape[6:11] <- 0b111111 # ydim max else shape[18:20] <- 0b111 # indexed yd/xd - if sk = 1 then shape[0:5] <- 0 # xdim + if sk = 0 then shape[0:5] <- 0 # xdim else shape[0:5] <- 0b111111 # xdim max shape[6:11] <- (0b0 || SVd) # ydim shape[12:17] <- (0b0 || SVG) # SVGPR -- 2.30.2