From 2d86814dfb1dd5e4d9678d6f37ab3e3b004d05b3 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 12 Mar 2023 10:52:01 +0000 Subject: [PATCH] add print-out for chacha20 schedule --- src/openpower/decoder/isa/test_caller_svp64_chacha20.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.30.2