From 2eb8770a0c158e72a6d44b91bb028f97e9fc8613 Mon Sep 17 00:00:00 2001 From: lkcl Date: Tue, 15 Dec 2020 21:04:08 +0000 Subject: [PATCH] --- openpower/sv/svp_rewrite/svp64/discussion.mdwn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openpower/sv/svp_rewrite/svp64/discussion.mdwn b/openpower/sv/svp_rewrite/svp64/discussion.mdwn index f8e279851..dd5951abb 100644 --- a/openpower/sv/svp_rewrite/svp64/discussion.mdwn +++ b/openpower/sv/svp_rewrite/svp64/discussion.mdwn @@ -174,13 +174,15 @@ When there are 3 bits it would be possible to indicate whether to begin from a p Note: considerable care needs to be taken when putting these horiz/vertical CRs through the Dependency Matrices +Indexing algorithm illustrating how the H/V modes would work. Note that BA is the 3 bit CR register field that normsll, in scalar ISA, would reference only CR0-7 as CR[BA]. + for i in range(VL) y = i % 8 x = i // 8 if verticalmode: CRINDEX = BA + y*8 + x else: - CRINDEX = BA*8 i + CRINDEX = BA*8 + i CR[CRINDEX] = ... -- 2.30.2