[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 0/4] improve coverage of vector backend
From: |
Alex Bennée |
Subject: |
[RFC PATCH 0/4] improve coverage of vector backend |
Date: |
Wed, 2 Feb 2022 19:12:38 +0000 |
Hi Richard,
While reviewing the TCG vector clean-ups I tried to improve the
range of instructions we tested. I couldn't get the existing hacky
sha1 test to vectorise nicely so I snarfed the sha512 algorithm from
CCAN. The sha512 test is good because it is all purely integer so we
should be able to use native code on the backend. The test also has
the nice property of validating behaviour.
I did toy with the idea of incorporating CCAN as a submodule because
there is quite a lot of nice stuff in there we could use for further
tests. However for now witness the glory of a cut and paste job.
What do you think?
Alex Bennée (4):
tests/tcg: cleanup sha1 source code
tests/tcg: build sha1-vector for SVE and compare
tests/tcg: add sha512 test
tests/tcg: add vectorised sha512 versions
tests/tcg/multiarch/sha1.c | 67 +-
tests/tcg/multiarch/sha512.c | 990 ++++++++++++++++++++++++++++++
tests/tcg/aarch64/Makefile.target | 23 +
tests/tcg/i386/Makefile.target | 6 +
tests/tcg/ppc64le/Makefile.target | 5 +-
tests/tcg/s390x/Makefile.target | 9 +
tests/tcg/x86_64/Makefile.target | 7 +
7 files changed, 1056 insertions(+), 51 deletions(-)
create mode 100644 tests/tcg/multiarch/sha512.c
--
2.30.2
- [RFC PATCH 0/4] improve coverage of vector backend,
Alex Bennée <=
- [RFC PATCH 2/4] tests/tcg: build sha1-vector for SVE and compare, Alex Bennée, 2022/02/02
- [RFC PATCH 1/4] tests/tcg: cleanup sha1 source code, Alex Bennée, 2022/02/02
- [RFC PATCH 3/4] tests/tcg: add sha512 test, Alex Bennée, 2022/02/02
- [RFC PATCH 4/4] tests/tcg: add vectorised sha512 versions, Alex Bennée, 2022/02/02
- Re: [RFC PATCH 0/4] improve coverage of vector backend, Alex Bennée, 2022/02/02