summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2022-10-01 04:24:34 -0400
committerJeffrey Walton <noloader@gmail.com>2022-10-01 04:24:34 -0400
commitcb6804da176377ea0e2fa73da19d56b7ee752a3e (patch)
treec41d5ee8dacc12c257d523eac3464f2f42e2e0c3 /GNUmakefile
parent31fa3384160071793bc428a32383938551b3652c (diff)
downloadcryptopp-git-cb6804da176377ea0e2fa73da19d56b7ee752a3e.tar.gz
Add SSE3 tests (GH #1163)
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile7
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)