[Libre-soc-bugs] [Bug 653] investigate FFT, DCT, etc for REMAP in SVP64

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Jul 24 10:33:32 BST 2021


--- Comment #19 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
the next stages here are:

* calculate the COS table to be stored in regs and used horizontally
* calculate the COS coefficient on-demand i.e. Vertical-First

the only thing is, the coefficients need to be computed from an integer
which is part of the inner loop counter.

to get at it, an "iota" instruction is needed.  or, more specifically,
a "get srcstep / dststep" instruction.  the Vectorised version of this
would then get internal REMAP schedule loop indices

from there, those integers can be converted to floats, and
the calculation "cos (ci + 0.5) * pi / size" can be done.

quite a lot of instructions are needed which are not yet
implemented, including the new FP into INT ones.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-soc-bugs mailing list