From ad941e4af98defaadfdf3a6b2c78b776d4a15d38 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 21 Sep 2022 15:40:16 +0100 Subject: [PATCH] add SVzd to REMAP (svshape) "stride" https://bugs.libre-soc.org/show_bug.cgi?id=930 --- openpower/isa/simplev.mdwn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openpower/isa/simplev.mdwn b/openpower/isa/simplev.mdwn index 111212f8..aa8e692f 100644 --- a/openpower/isa/simplev.mdwn +++ b/openpower/isa/simplev.mdwn @@ -155,6 +155,7 @@ Pseudo-code: # set up template in SVSHAPE0, then copy to 1-3 # for FRA and FRT SVSHAPE0[0:5] <- (0b0 || SVxd) # xdim + SVSHAPE0[12:17] <- (0b0 || SVzd) # zdim - "striding" (2D FFT) SVSHAPE0[30:31] <- 0b01 # Butterfly mode # copy SVSHAPE1[0:31] <- SVSHAPE0[0:31] @@ -179,6 +180,7 @@ Pseudo-code: # set up template in SVSHAPE0, then copy to 1-3 # set up FRB and FRS SVSHAPE0[0:5] <- (0b0 || SVxd) # xdim + SVSHAPE0[12:17] <- (0b0 || SVzd) # zdim - "striding" (2D DCT) if (SVrm = 0b1010) | (SVrm = 0b1100) then SVSHAPE0[30:31] <- 0b11 # iDCT mode SVSHAPE0[18:20] <- 0b011 # iDCT Inner Butterfly sub-mode -- 2.30.2