Commit Graph

10 Commits (ce96a7974d28a7ec083b2b9124bbfbd320bbaa60)

Author SHA1 Message Date
Jeffrey Walton c99beec2cd
Fix "error: use of undeclared identifier 'NULL'" on iOS 2017-08-10 21:18:29 -04:00
Jeffrey Walton c45c262d2c
Update Android defines 2017-08-07 13:43:40 -04:00
Jeffrey Walton a8cbfc52fc
__android__ → __ANDROID__
Also see https://stackoverflow.com/q/6374523/608639
2017-08-07 12:18:39 -04:00
Jeffrey Walton 42d91b76fc
Fix compile under Clang 3.5 due to use of SSE4.1
Both Apple and LLVM Clang want -msse4.2 even when only SSE4.1 is used. Sidestep it because we don't know how it will affect some of the lower end Atoms.

84877:/usr/include/clang/3.5.0/include/nmmintrin.h:28:2: error: "SSE4.2 instruction set not enabled"
84878:#error "SSE4.2 instruction set not enabled"
84880:rijndael-simd.cpp:466:26: error: use of undeclared identifier '_mm_extract_epi32'; did you mean '_mm_extract_epi16'?
84887:rijndael-simd.cpp:480:11: error: use of undeclared identifier '_mm_insert_epi32'; did you mean '_mm_insert_epi16'?
84894:rijndael-simd.cpp:485:11: error: use of undeclared identifier '_mm_insert_epi32'; did you mean '_mm_insert_epi16'?
...
2017-08-07 12:03:17 -04:00
Jeffrey Walton a8b3327265
Add Android CPU feature detection for NEON
Also see https://developer.android.com/ndk/guides/cpu-features.html
2017-08-07 11:33:12 -04:00
Jeffrey Walton 4ebf9b915e
Add ARM specific guard for Linux
Update AppVeyor config to checkout 3 deep to avoid "fatal: reference is not a tree: 89ccfad2d08..."
2017-08-07 08:22:13 -04:00
Jeffrey Walton 89ccfad2d0
Use getauxval on Linux for features
getauxval() is the recommended way to determine features on Linux. Its likely less expensive than CPU probing for SIGILLs. We gave up portability, but some gained stability
2017-08-07 07:37:08 -04:00
Jeffrey Walton a8462328f4
Fix Aarch64 build. Cleanup Windows build 2017-07-31 03:07:32 -04:00
Jeffrey Walton 1fdd08d690
Fix ARM build under Windows Phone 2017-07-31 02:09:15 -04:00
Jeffrey Walton 8338d90c10
Add ARIA, BLAKE2 and SHA support for ARMv7, ARMv8 and Intel 2017-07-29 23:40:56 -04:00