From: Luke Kenneth Casson Leighton Date: Fri, 9 Jul 2021 18:42:16 +0000 (+0100) Subject: update comments X-Git-Tag: xlen-bcd~313 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e0a9fc3078bad9c41bb2778249b8185c794e4b4;p=openpower-isa.git update comments --- diff --git a/src/openpower/decoder/isa/test_caller_svp64_fft.py b/src/openpower/decoder/isa/test_caller_svp64_fft.py index 152b4f1b..62b8609e 100644 --- a/src/openpower/decoder/isa/test_caller_svp64_fft.py +++ b/src/openpower/decoder/isa/test_caller_svp64_fft.py @@ -147,17 +147,16 @@ class FFTTestCase(FHDLTestCase): self.assertTrue(err < 1e-7) def test_sv_remap_fpmadds_fft_svstep(self): - """>>> lst = ["svremap 8, 1, 1, 1", - "sv.ffmadds 2.v, 2.v, 2.v, 10.v" - ] + """>>> lst = SVP64Asm( ["setvl 0, 0, 11, 1, 1, 1", + "svremap 8, 1, 1, 1", + "sv.ffmadds 0.v, 0.v, 0.v, 8.v", + "setvl. 0, 0, 0, 1, 0, 0", + "bc 4, 2, -16" + ]) runs a full in-place O(N log2 N) butterfly schedule for - Discrete Fourier Transform. - - this is the twin "butterfly" mul-add-sub from Cooley-Tukey - https://en.wikipedia.org/wiki/Cooley%E2%80%93Tukey_FFT_algorithm#Data_reordering,_bit_reversal,_and_in-place_algorithms - - there is the *option* to target a different location (non-in-place) - just in case. + Discrete Fourier Transform. this version however uses + SVP64 "Vertical-First" Mode and so needs an explicit + branch, testing CR0. SVP64 "REMAP" in Butterfly Mode is applied to a twin +/- FMAC (3 inputs, 2 outputs)