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/s390x | |
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/s390x')
-rw-r--r-- | tests/tcg/s390x/Makefile.target | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/tcg/s390x/Makefile.target b/tests/tcg/s390x/Makefile.target index 1a7238b..e53b599 100644 --- a/tests/tcg/s390x/Makefile.target +++ b/tests/tcg/s390x/Makefile.target @@ -25,3 +25,12 @@ run-gdbstub-signals-s390x: signals-s390x EXTRA_RUNS += run-gdbstub-signals-s390x endif + +# MVX versions of sha512 +sha512-mvx: CFLAGS=-march=z13 -mvx -O3 +sha512-mvx: sha512.c + $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS) + +run-sha512-mvx: QEMU_OPTS+=-cpu max + +TESTS+=sha512-mvx |