From: Luke Kenneth Casson Leighton Date: Thu, 27 Apr 2023 09:23:27 +0000 (+0100) Subject: link in new parallel-prefix REMAP schedule X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f7e3da823b82992395af03388e2b5eb5a36574b;p=openpower-isa.git link in new parallel-prefix REMAP schedule --- diff --git a/src/openpower/decoder/isa/svshape.py b/src/openpower/decoder/isa/svshape.py index 8b453375..e34c0842 100644 --- a/src/openpower/decoder/isa/svshape.py +++ b/src/openpower/decoder/isa/svshape.py @@ -11,6 +11,8 @@ from openpower.decoder.selectable_int import (FieldSelectableInt, SelectableInt, from openpower.decoder.isa.remapyield import iterate_indices from openpower.decoder.isa.remap_preduce_yield import (iterate_indices as iterate_preduce_indices) +from openpower.decoder.isa.remap_preduce_yield import (iterate_indices2 as + iterate_pprefix_indices) from openpower.decoder.isa.remap_fft_yield import iterate_butterfly_indices from openpower.decoder.isa.remap_dct_yield import ( iterate_dct_inner_butterfly_indices, @@ -168,7 +170,11 @@ class SVSHAPE(SelectableInt): if self.mode == 0b00: iterate_fn = iterate_indices elif self.mode == 0b10: - iterate_fn = iterate_preduce_indices + # further sub-selection + if self.skip & 0b10: + iterate_fn = iterate_pprefix_indices # parallel-prefix + else: + iterate_fn = iterate_preduce_indices # parallel-reduce elif self.mode in [0b01, 0b11]: # further sub-selection if self.ydimsz == 1: