Skip to content

SSE3_FLAG used but not not tested for #1163

Closed
@abdes

Description

Crypto++ Issue Report

Crypto++ 8.7.0

In GNUMakefile, SSE3_FLAG is used but it was never being tested for with the test program to check if it is available or not, unlike sse2 and ssse3.

/cryptopp-cmake/_build/_deps/cryptopp # grep -n -A 5 [^S]SSE3_FLAG GNUmakefile
250:    SSE3_FLAG = -xarch=sse3
251-    SSSE3_FLAG = -xarch=ssse3
252-    SSE41_FLAG = -xarch=sse4_1
253-    SSE42_FLAG = -xarch=sse4_2
254-    CLMUL_FLAG = -xarch=aes
255-    AESNI_FLAG = -xarch=aes
--
261:    SSE3_FLAG = -msse3
262-    SSSE3_FLAG = -mssse3
263-    SSE41_FLAG = -msse4.1
264-    SSE42_FLAG = -msse4.2
265-    CLMUL_FLAG = -mpclmul
266-    AESNI_FLAG = -maes
--
409:    ifeq ($(SSE3_FLAG),)
410-      CRYPTOPP_CPPFLAGS += -DCRYPTOPP_DISABLE_SSE3
411-    else ifeq ($(SSSE3_FLAG),)
412-      CRYPTOPP_CPPFLAGS += -DCRYPTOPP_DISABLE_SSSE3
413-    else ifeq ($(SSE41_FLAG),)
414-      CRYPTOPP_CPPFLAGS += -DCRYPTOPP_DISABLE_SSE4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions