From: Luke Kenneth Casson Leighton Date: Thu, 27 Apr 2023 09:37:39 +0000 (+0100) Subject: correct table X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac3503832ff75d1fb964c3bbbe8ee5e7c4c7d152;p=libreriscv.git correct table --- diff --git a/openpower/sv/cookbook/chacha20.mdwn b/openpower/sv/cookbook/chacha20.mdwn index 70ee2f96a..44ae30d2a 100644 --- a/openpower/sv/cookbook/chacha20.mdwn +++ b/openpower/sv/cookbook/chacha20.mdwn @@ -138,15 +138,12 @@ to the beginning of the loop does not occur automatically though, a branch instr Let's assume the values `x` in the registers 24-36 +| h1 | r0 | r1 | r2 | r3 | |--------|-----|-----|-----|-----| | GPR 24 | x0 | x1 | x2 | x3 | -|--------|-----|-----|-----|-----| | GPR 28 | x4 | x5 | x6 | x7 | -|--------|-----|-----|-----|-----| | GPR 32 | x8 | x9 | x10 | x11 | -|--------|-----|-----|-----|-----| | GPR 36 | x12 | x13 | x14 | x15 | -|--------|-----|-----|-----|-----| So for the addition in Vertical-First mode, `RT` (and `RA` as they are the same) indices are (in terms of x):