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/i386/Makefile.target | |
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/i386/Makefile.target')
-rw-r--r-- | tests/tcg/i386/Makefile.target | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/tcg/i386/Makefile.target b/tests/tcg/i386/Makefile.target index 38c1037..e1c0310 100644 --- a/tests/tcg/i386/Makefile.target +++ b/tests/tcg/i386/Makefile.target @@ -71,3 +71,12 @@ TESTS=$(MULTIARCH_TESTS) $(I386_TESTS) # On i386 and x86_64 Linux only supports 4k pages (large pages are a different hack) EXTRA_RUNS+=run-test-mmap-4096 + +sha512-sse: CFLAGS=-msse4.1 -O3 +sha512-sse: sha512.c + $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS) + +run-sha512-sse: QEMU_OPTS+=-cpu max +run-plugin-sha512-sse-with-%: QEMU_OPTS+=-cpu max + +TESTS+=sha512-sse |