|
From: | Richard Henderson |
Subject: | Re: [PATCH v2 13/18] tests/tcg: add vectorised sha512 versions |
Date: | Fri, 25 Feb 2022 12:52:38 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
On 2/25/22 07:20, Alex Bennée wrote:
+++ b/tests/tcg/i386/Makefile.target @@ -71,3 +71,9 @@ 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) + +TESTS+=sha512-sse
The default cpu, qemu32, only implements sse3, not sse4.1, so we get a guest SIGILL. We can execute this with -cpu max, or we could limit the vectorization.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |