qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/2] tests/tcg/s390x: Import linux tools/testing/crypto/chach


From: Thomas Huth
Subject: Re: [PATCH 2/2] tests/tcg/s390x: Import linux tools/testing/crypto/chacha20-s390
Date: Thu, 18 Jan 2024 08:17:47 +0100
User-agent: Mozilla Thunderbird

On 17/01/2024 22.36, Richard Henderson wrote:
Modify and simplify the driver, as we're really only interested
in correctness of translation of chacha-vx.S.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
  tests/tcg/s390x/chacha.c        | 341 ++++++++++++
  tests/tcg/s390x/Makefile.target |   4 +
  tests/tcg/s390x/chacha-vx.S     | 914 ++++++++++++++++++++++++++++++++
  3 files changed, 1259 insertions(+)
  create mode 100644 tests/tcg/s390x/chacha.c
  create mode 100644 tests/tcg/s390x/chacha-vx.S
...
+       vx      XT0,XT0,XA0
+       vx      XT1,XT1,XB0
+       vx      XT2,XT2,XC0
+       vx      XT3,XT3,XD0
+
+       vstm    XT0,XT3,0(OUT),0
+
+.Ldone_4x:
+       lmg     %r6,%r7,6*8(SP)
+       br      %r14
+
+.Ltail_4x:

FWIW, my "git am" complains about a trailing white space here.

Apart from that:
Tested-by: Thomas Huth <thuth@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]