From: Luke Kenneth Casson Leighton Date: Tue, 20 Jul 2021 21:04:45 +0000 (+0100) Subject: comments X-Git-Tag: xlen-bcd~239 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5bea4f06f24828453ee77a2eaf4cdb6b374d8033;p=openpower-isa.git comments --- diff --git a/src/openpower/decoder/isa/fastdctlee.py b/src/openpower/decoder/isa/fastdctlee.py index 7144e930..f9f481b7 100644 --- a/src/openpower/decoder/isa/fastdctlee.py +++ b/src/openpower/decoder/isa/fastdctlee.py @@ -204,7 +204,9 @@ def transform2(vec): vec = [vec[ri[i]] for i in range(n)] # create a cos table: not strictly necessary but here for illustrative - # purposes. + # purposes, to demonstrate the point that it really *is* iterative. + # this table could be cached and used multiple times rather than + # computed every time. ctable = [] size = n while size >= 2: