From 6b1d421c08a9ab72b330b1c2d5c0558f35f5cf42 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 24 Jul 2021 12:57:21 +0100 Subject: [PATCH] update submodes for DCT --- openpower/sv/shape_table_format.mdwn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openpower/sv/shape_table_format.mdwn b/openpower/sv/shape_table_format.mdwn index 316e26814..241e03e6c 100644 --- a/openpower/sv/shape_table_format.mdwn +++ b/openpower/sv/shape_table_format.mdwn @@ -27,10 +27,10 @@ is also performed. in-place * **submode=0b010** selects the ``j+halfsize`` offset of the innermost for-loop, in reverse-order, in-place -* **submode=0b10** selects the ``j`` offset of the innermost for-loop, - in non-in-place mode -* **submode=0b11** selects the ``j+halfsize`` offset of the innermost for-loop, - in reverse-order, in non-in-place mode. +* **submode=0b10** selects the ``ci`` count of the innermost for-loop, + useful for calculating the cosine coefficient +* **submode=0b11** selects the ``size`` offset of the outermost for-loop, + useful for the cosine coefficient ``cos(ci + 0.5) * pi / size`` When submode2 is 3 or 4, for DCT outer butterfly submode the following schedules may be selected. When submode is 3, additional bit-reversing -- 2.30.2