diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2022-02-25 17:20:16 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2022-02-28 16:42:35 +0000 |
commit | f8a4c6d728bc2427c5455379482f40ba8706a96f (patch) | |
tree | 8787c24a286019968f515c43f8fbb66d1370ed6c /tests/tcg/aarch64 | |
parent | d426f4fc6fbd1f6d9d7a721998f92b6e30a3e9db (diff) | |
download | qemu-f8a4c6d728bc2427c5455379482f40ba8706a96f.zip qemu-f8a4c6d728bc2427c5455379482f40ba8706a96f.tar.gz qemu-f8a4c6d728bc2427c5455379482f40ba8706a96f.tar.bz2 |
tests/tcg: add vectorised sha512 versions
This builds vectorised versions of sha512 to exercise the vector code:
- aarch64 (AdvSimd)
- i386 (SSE)
- s390x (MVX)
- ppc64/ppc64le (power10 vectors)
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220225172021.3493923-14-alex.bennee@linaro.org>
Diffstat (limited to 'tests/tcg/aarch64')
-rw-r--r-- | tests/tcg/aarch64/Makefile.target | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/tcg/aarch64/Makefile.target b/tests/tcg/aarch64/Makefile.target index df3f8e9..ac07acd 100644 --- a/tests/tcg/aarch64/Makefile.target +++ b/tests/tcg/aarch64/Makefile.target @@ -60,6 +60,13 @@ run-sha1-vector: sha1-vector run-sha1 TESTS += sha1-vector +# Vector versions of sha512 (-O3 triggers vectorisation) +sha512-vector: CFLAGS=-O3 +sha512-vector: sha512.c + $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS) + +TESTS += sha512-vector + ifneq ($(HAVE_GDB_BIN),) GDB_SCRIPT=$(SRC_PATH)/tests/guest-debug/run-test.py |