From 5158c567392c82753ce3a477b6b1b631b577bad1 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 22 Jul 2021 15:24:36 +0100 Subject: [PATCH] copy of halfrev2 algorithm updated --- src/openpower/decoder/isa/remap_dct_yield.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/openpower/decoder/isa/remap_dct_yield.py b/src/openpower/decoder/isa/remap_dct_yield.py index eaaeaf89..44a43753 100644 --- a/src/openpower/decoder/isa/remap_dct_yield.py +++ b/src/openpower/decoder/isa/remap_dct_yield.py @@ -36,8 +36,7 @@ def halfrev2(vec, pre_rev=True): ri = i bl = i.bit_length() for ji in range(1, bl): - if (1<> ji) res.append(vec[ri]) return res -- 2.30.2