From: Luke Kenneth Casson Leighton Date: Sun, 12 Mar 2023 10:52:01 +0000 (+0000) Subject: add print-out for chacha20 schedule X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d86814dfb1dd5e4d9678d6f37ab3e3b004d05b3;p=openpower-isa.git add print-out for chacha20 schedule --- diff --git a/src/openpower/decoder/isa/test_caller_svp64_chacha20.py b/src/openpower/decoder/isa/test_caller_svp64_chacha20.py index 7e11fb4b..0fbb14bd 100644 --- a/src/openpower/decoder/isa/test_caller_svp64_chacha20.py +++ b/src/openpower/decoder/isa/test_caller_svp64_chacha20.py @@ -144,6 +144,7 @@ class SVSTATETestCase(FHDLTestCase): # offsets for a b c for i, (a, b, c, d) in enumerate(schedule): + print ("chacha20 schedule", i, hex(a), hex(b), hex(c), hex(d)) set_masked_reg(initial_regs, 22, i, ew_bits=8, value=a) set_masked_reg(initial_regs, 30, i, ew_bits=8, value=b) set_masked_reg(initial_regs, 38, i, ew_bits=8, value=c)