Commit Graph

1678 Commits (0db3a4e5d7b65e98e9a3ad62b931d3f30750641f)

Author SHA1 Message Date
Jeffrey Walton 0db3a4e5d7 Fix GCC 4.9 internal compiler error when using poly128_t (Issue 233) 2016-07-28 23:52:55 -04:00
Jeffrey Walton bca0fa6a9e Add test for unified asm syntax
This is a premeptive strike to ensure no surprises when divided syntax is deprecated
2016-07-28 05:12:17 -04:00
Jeffrey Walton 8b09565b6e Updated year in copyright notice 2016-07-27 15:45:46 -04:00
Jeffrey Walton 0b8cea5c51 Add guard for SunCC 2016-07-25 08:03:56 -04:00
Jeffrey Walton b99a92fe72 Whitespace checkin 2016-07-24 23:41:24 -04:00
Jeffrey Walton 57337a5479 Fix missing defines under Windows 2016-07-24 21:30:03 -04:00
Jeffrey Walton 06a7abc9c8 Whitespace cleanup 2016-07-24 19:28:01 -04:00
Jeffrey Walton 8213936b55 Fix unwanted IOS_ARCH reset to armv7 2016-07-24 14:38:58 -04:00
Jeffrey Walton e2bf6824ff Fix cannot convert between 'word64*' and 'uint64_t*' and -fpermissive 2016-07-24 13:40:58 -04:00
Jeffrey Walton f0f0408c89 Add polynomial multiply instruction detection 2016-07-24 09:48:28 -04:00
Jeffrey Walton 43320dd727 Fixed compile under Visual Studio 2008, 32-bit 2016-07-24 04:20:50 -04:00
Jeffrey Walton fc5ad7ea7d Removed SSE2 and SSE4 restrictions under Visual Studio 2016-07-24 01:25:30 -04:00
Jeffrey Walton fa0b378173 Add SSE2 guard with CRYPTOPP_BOOL_SSE2_AVAILABLE 2016-07-24 00:47:37 -04:00
Jeffrey Walton 7716f5f689 Enable CRYPTOPP_BOOL_SSE4_INTRINSICS_AVAILABLE 2016-07-24 00:39:20 -04:00
Jeffrey Walton 32e6276baf Prefer union access over pointer cast
Also see http://stackoverflow.com/a/38547909/608639
2016-07-24 00:34:55 -04:00
Jeffrey Walton ef4f185d9b Avoid accessing union value through inactive member 2016-07-23 23:49:26 -04:00
Jeffrey Walton d8638a597f Fixed arguments to _mm_set_epi64x 2016-07-23 22:09:26 -04:00
Jeffrey Walton f532b02a96 Add replacement for _mm_set_epi64x under Sun Studio 12.3 and below 2016-07-23 21:39:18 -04:00
Jeffrey Walton 7378a1b86d Cleared analysis warning on use of boolean in arithmetic expression 2016-07-23 19:37:17 -04:00
Jeffrey Walton eba3f83327 Use CRYPTOPP_DISABLE_INTEL_ASM to disable Panama's ASM 2016-07-23 08:10:38 -04:00
Jeffrey Walton c7b329db90 Add fpv5 fpu option 2016-07-22 23:17:46 -04:00
Jeffrey Walton 2d55eeb2be Fix HAVE_ARM_VFPV3 typo. Fix PLATFORM_CXXFLAGS for first debug and release build 2016-07-22 05:42:14 -04:00
Jeffrey Walton 0c801ce822 Fix broken compile with GCC 4.9 and 4.9 in Debug configuration with -std=c++11 2016-07-22 03:25:25 -04:00
Jeffrey Walton e8d3ddffd8 Removed HAVE_ARM_ASIMD. Add HAVE_ARMV8. Enable at least '-march=armv8-a' for all Aarch64 platforms 2016-07-22 02:52:06 -04:00
Jeffrey Walton c1b57a9a7f Add logic for ARM vfpd32 CPU flag 2016-07-22 00:46:14 -04:00
Jeffrey Walton a327717618 Guard _blsr_u64 and _tzcnt_u64 on __x86_64__ 2016-07-21 18:04:05 -04:00
Jeffrey Walton 29bd2bc95c Add additional FILTERED_CXXFLAGS 2016-07-21 18:00:49 -04:00
Jeffrey Walton 6ed2a60a53 Add -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS for -O5 and -Ofast 2016-07-21 02:57:50 -04:00
Jeffrey Walton c606ea2573 Remove 32-bit ARMv8 FPU flags from Aarch64 2016-07-20 20:08:00 -04:00
Jeffrey Walton e0ca095144 Fix "unrecognized command line option ‘-mfpu=neon-fp-armv8" under GCC 4.8 2016-07-20 11:15:03 -04:00
Jeffrey Walton 9f9b050c7f Remove soft-float from ARMv8 2016-07-20 10:31:00 -04:00
Jeffrey Walton 5bc1f5bfd1 Add -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS for -Ofast testing since it auto-vectorizes under GCC 2016-07-20 09:54:03 -04:00
Jeffrey Walton e7e61e8f9e Add ARM floating point ABI detection 2016-07-20 09:49:06 -04:00
Jeffrey Walton 9cdeb3ce8e Added VFPU options for ARM. Remove AES intrinsics from SunCC 12.3 due to failures in CTR, CCM and GCM modes. Other modes are OK 2016-07-20 05:30:39 -04:00
Jeffrey Walton fd4287e433 Add LLVM bitcode to temporaies cleaned by 'make distclean' rule 2016-07-20 03:03:01 -04:00
Jeffrey Walton 7ec3b29df6 Fix missing BMI/BMI2 instrinsics under GCC on Solaris (Issue 230) 2016-07-20 01:17:55 -04:00
Jeffrey Walton 6f0bb9411f Whitespace cleanup in test vectors and data files 2016-07-19 01:13:26 -04:00
Jeffrey Walton df47660605 Remove unneeded 'defined(__INTEL_COMPILER)' 2016-07-19 00:09:29 -04:00
Jeffrey Walton 686aef6028 Remove second definition of CRYPTOPP_ALIGN_DATA using alignas 2016-07-18 21:53:18 -04:00
Jeffrey Walton 0e51761f17 Updated documentation 2016-07-18 20:02:58 -04:00
Jeffrey Walton 49b18188b4 Fix deprecated warning with message under GCC 4.47 2016-07-18 19:21:20 -04:00
Jeffrey Walton 9154975b1a Updated documentation 2016-07-17 22:16:30 -04:00
Jeffrey Walton 4fd51eb06c Add vec_swap for compilers which do not support std::swap'ing SSE and NEON types 2016-07-17 21:25:55 -04:00
Jeffrey Walton 5ad7bbd0c7 Guard CRYPTOPP_CXX11 for STLport
On Android, the compiler will define __cplusplus=201103L when using -std=c++11 even with STLport. STLport appears to be abandoned sometime around 2008.
2016-07-17 20:20:36 -04:00
Jeffrey Walton 1cb906938d Fix SunCC 12.2 and 12.3 failed compile in rijndael.cpp due to std::swap(__m128i, __m128i) 2016-07-16 23:45:16 -04:00
Jeffrey Walton 3c96be47d2 Removed ARM CRC and Crypto specific tests
The tests are now fully exercised by using PLATFORM_CXXFLAGS
2016-07-16 19:00:30 -04:00
Jeffrey Walton fa758dbbd7 Fix SunCC 12.2 failed compile due to -D__AES__ and above platform flags (Issue 228) 2016-07-15 17:25:43 -04:00
Jeffrey Walton aae1f27dee Fix SunCC crash and failed compile for gcm.cpp. This is the hammer - we don't enable any ASM for the source file (Issue 227) 2016-07-15 15:46:31 -04:00
Jeffrey Walton b1f5eb450c Add option to reduce CPU load for GCC Compile Farm policy requirements 2016-07-15 12:27:22 -04:00
Jeffrey Walton bdd1c12fab Fix SunCC 12.x compile error with -std=c++11 (Issue 226) 2016-07-15 04:57:00 -04:00