diff options
author | Jeffrey Walton <noloader@gmail.com> | 2022-10-01 04:24:34 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2022-10-01 04:24:34 -0400 |
commit | cb6804da176377ea0e2fa73da19d56b7ee752a3e (patch) | |
tree | c41d5ee8dacc12c257d523eac3464f2f42e2e0c3 /GNUmakefile | |
parent | 31fa3384160071793bc428a32383938551b3652c (diff) | |
download | cryptopp-git-cb6804da176377ea0e2fa73da19d56b7ee752a3e.tar.gz |
Add SSE3 tests (GH #1163)
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index deffca90..7cf59c95 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -304,6 +304,13 @@ ifeq ($(DETECT_FEATURES),1) # Need SSE2 or higher for these tests ifneq ($(SSE2_FLAG),) + TPROG = TestPrograms/test_x86_sse3.cpp + TOPT = $(SSE3_FLAG) + HAVE_OPT = $(shell $(TCOMMAND) 2>&1 | wc -w) + ifneq ($(strip $(HAVE_OPT)),0) + SSE3_FLAG = + endif + TPROG = TestPrograms/test_x86_ssse3.cpp TOPT = $(SSSE3_FLAG) HAVE_OPT = $(shell $(TCOMMAND) 2>&1 | wc -w) |