Fix SunCC compile with -xarch=sse2

Fix copy/paste messages in cryptest.sh
pull/548/head
Jeffrey Walton 2017-11-13 19:10:15 -05:00
parent 4990129f0f
commit 91b8d85f4c
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
3 changed files with 9 additions and 4 deletions

View File

@ -2767,7 +2767,7 @@ if [[ "$HAVE_CXX14" -ne "0" ]]; then
echo "Testing: Release, c++14" | tee -a "$TEST_RESULTS"
echo
TEST_LIST+=("Debug, c++14")
TEST_LIST+=("Release, c++14")
"$MAKE" clean > /dev/null 2>&1
rm -f adhoc.cpp > /dev/null 2>&1
@ -2828,7 +2828,7 @@ if [[ "$HAVE_GNU14" -ne "0" ]]; then
echo "Testing: Release, gnu++14" | tee -a "$TEST_RESULTS"
echo
TEST_LIST+=("Debug, gnu++14")
TEST_LIST+=("Release, gnu++14")
"$MAKE" clean > /dev/null 2>&1
rm -f adhoc.cpp > /dev/null 2>&1

View File

@ -48,6 +48,11 @@ unsigned long int getauxval(unsigned long int) { return 0; }
# include <setjmp.h>
#endif
// Needed by SunCC and MSVC
#if (CRYPTOPP_BOOL_X86 || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X64)
# include <emmintrin.h>
#endif
NAMESPACE_BEGIN(CryptoPP)
#ifndef CRYPTOPP_MS_STYLE_INLINE_ASSEMBLY

View File

@ -2767,7 +2767,7 @@ if [[ "$HAVE_CXX14" -ne "0" ]]; then
echo "Testing: Release, c++14" | tee -a "$TEST_RESULTS"
echo
TEST_LIST+=("Debug, c++14")
TEST_LIST+=("Release, c++14")
"$MAKE" clean > /dev/null 2>&1
rm -f adhoc.cpp > /dev/null 2>&1
@ -2828,7 +2828,7 @@ if [[ "$HAVE_GNU14" -ne "0" ]]; then
echo "Testing: Release, gnu++14" | tee -a "$TEST_RESULTS"
echo
TEST_LIST+=("Debug, gnu++14")
TEST_LIST+=("Release, gnu++14")
"$MAKE" clean > /dev/null 2>&1
rm -f adhoc.cpp > /dev/null 2>&1