From 6a7c34b904b9e73cd57c41ee592f8ec5ac946348 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 15 Apr 2023 14:46:02 +0100 Subject: [PATCH] whitespace --- openpower/sv/rfc/ls009.mdwn | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/openpower/sv/rfc/ls009.mdwn b/openpower/sv/rfc/ls009.mdwn index ee0a94b59..6caeb419f 100644 --- a/openpower/sv/rfc/ls009.mdwn +++ b/openpower/sv/rfc/ls009.mdwn @@ -2265,22 +2265,22 @@ Selecting which REMAP Schedule to use is shown by the pseudocode below. Each SVSHAPE 0-3 goes through this selection process. ``` - if self.mode == 0b00: - iterate_fn = iterate_indices - elif self.mode == 0b10: - iterate_fn = iterate_preduce_indices - elif self.mode in [0b01, 0b11]: - # further sub-selection - if self.ydimsz == 1: - iterate_fn = iterate_butterfly_indices - elif self.ydimsz == 2: - iterate_fn = iterate_dct_inner_butterfly_indices - elif self.ydimsz == 3: - iterate_fn = iterate_dct_outer_butterfly_indices - elif self.ydimsz in [5, 13]: - iterate_fn = iterate_dct_inner_costable_indices - elif self.ydimsz in [6, 14, 15]: - iterate_fn = iterate_dct_inner_halfswap_loadstore + if SVSHAPEn.mode == 0b00: + iterate_fn = iterate_indices + elif SVSHAPEn.mode == 0b10: + iterate_fn = iterate_preduce_indices + elif SVSHAPEn.mode in [0b01, 0b11]: + # further sub-selection + if SVSHAPEn.ydimsz == 1: + iterate_fn = iterate_butterfly_indices + elif SVSHAPEn.ydimsz == 2: + iterate_fn = iterate_dct_inner_butterfly_indices + elif SVSHAPEn.ydimsz == 3: + iterate_fn = iterate_dct_outer_butterfly_indices + elif SVSHAPEn.ydimsz in [5, 13]: + iterate_fn = iterate_dct_inner_costable_indices + elif SVSHAPEn.ydimsz in [6, 14, 15]: + iterate_fn = iterate_dct_inner_halfswap_loadstore ``` -- 2.30.2