add print-out for chacha20 schedule
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 12 Mar 2023 10:52:01 +0000 (10:52 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 2 Jun 2023 18:51:16 +0000 (19:51 +0100)
src/openpower/decoder/isa/test_caller_svp64_chacha20.py

index 7e11fb4b39e596b11b952f171b349c47278467f7..0fbb14bd8605448559eafdbeebab17121e3b2d0c 100644 (file)
@@ -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)