From: lkcl Date: Tue, 15 Dec 2020 21:04:08 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~1308 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2eb8770a0c158e72a6d44b91bb028f97e9fc8613;p=libreriscv.git --- 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] = ...