Frank Denis
fa18ba7505
Revert "Better AVX2 detection for GCC compilers"
This reverts commit 534e0774e3
.
8 years ago
Ilya Maykov
534e0774e3
Better AVX2 detection for GCC compilers
8 years ago
Frank Denis
351ae49e53
cpuid is not available on i686-nacl
8 years ago
Frank Denis
29492143ab
Warn if the library is being compiled in a custom way
8 years ago
Frank Denis
a7a3235a39
Version bump (not released yet)
8 years ago
Frank Denis
ba9c296108
Correct whitespace in path detection, and turn it into a fatal error
8 years ago
Frank Denis
474952d3f1
Try using cpuid on NativeClient
8 years ago
Frank Denis
a87d30f3af
Try MMX/SSE/SSE2/SSE3/SSSE4/SSE4.1 instructions on NativeClient
8 years ago
Frank Denis
00e156198a
Disable SIMD instructions on NativeClient
8 years ago
Frank Denis
d463dadc51
Disable ssp and aesni on nativeclient, nativeclient.sh->nativeclient-pnacl.sh
8 years ago
Frank Denis
fbad64f6ef
Disable asm on native client
8 years ago
Frank Denis
f8ff8ebf66
Add locks around sodium_init()
8 years ago
Frank Denis
e816ffb56c
Quotes
8 years ago
Frank Denis
bdf5c8246b
Compile with pthreads
8 years ago
Frank Denis
daeaf63f9c
Not an ELF system, not an Apple system, weak symbols may not work
8 years ago
Frank Denis
703120c1a2
Version bump [only the package]
8 years ago
Frank Denis
abdc839367
Workaround for old gcc versions missing _mm256_broadcastsi128_si256()
Some old gcc versions define vbroadcasti128 as
_mm_broadcastsi128_si256() not _mm256_broadcastsi128_si256().
Detect this, and use _mm_broadcastsi128_si256() in that case.
8 years ago
Frank Denis
c2b8ffb53d
NO_BROWSER is not required any more, even for tests
8 years ago
Frank Denis
2b1d7cb750
Revisit the default set of compiler warnings
8 years ago
Frank Denis
55c3eed151
Have the SSE2 test trigger a conversion with old gcc versions
8 years ago
Frank Denis
3f765f1737
Old gcc versions need -flax-vector-conversions to compile some intrinsics
8 years ago
Frank Denis
b31f59d835
-save-temps is messing with the detection of supported directives
Remove it from --enable-opt, and don't use any directives to restrict
symbol visibility if detection appears to be unreliable
8 years ago
Frank Denis
f4cc8aeb48
Force LITTLE_ENDIAN detection on x86 and x86_64
This is a sad workaround for CompCert 2.6
8 years ago
Frank Denis
7bb9b7fc70
Endianness
8 years ago
Frank Denis
3295752821
Of course, GNU ld doesn't know about .private_extern
8 years ago
Frank Denis
bafc9c70e1
Only use .private_extern if this is supported
8 years ago
Frank Denis
0131a72082
BLAKE2b AVX2 implementation
By the marvellous Samuel Neves - https://github.com/sneves/blake2-avx2
8 years ago
Frank Denis
7611ea6018
Add AVX2 detection
8 years ago
Frank Denis
f92cfae9d8
Have --enable-opt use -O3, not -Ofast
8 years ago
Frank Denis
aafff07689
Add support for running the test suite with Valgrind
8 years ago
Frank Denis
846a84b721
Version bump (not released yet)
9 years ago
Frank Denis
a78161981c
Check for _mm_set_epi64x() usability in the SSE2 test
9 years ago
Frank Denis
d740901df0
Have --enable-opt imply -Ofast
9 years ago
Frank Denis
953e959fba
Try --high-entropy-va on MinGW
9 years ago
Frank Denis
c08c21887e
Version bump
9 years ago
Frank Denis
90c49184fa
--enable-opt now enables -save-temps; remove -flto
9 years ago
Frank Denis
3796145631
autoconf: check that named registers work
9 years ago
Frank Denis
5b62287f98
Add a --enable-opt compile-time switch
9 years ago
Frank Denis
1e71f849b5
1.0.7 (not released yet)
9 years ago
Frank Denis
b74f644d3f
Replace CPU_ALIGNED_ACCESS_REQUIRED with CPU_UNALIGNED_ACCESS
Instead of defining a macro when aligned memory access is required,
define one when unaligned memory access is supported.
Safer when cross-compiling or not using autoconf
9 years ago
Frank Denis
eb8119d65c
Enable 128-bit arithmetic if __int128 is available
9 years ago
Frank Denis
dd238f518d
Bump major
9 years ago
Frank Denis
fb28119a38
Check inline assembly code using __asm__ __volatile__
9 years ago
Frank Denis
18906a078c
Unfortunately, some assemblers still don't know about AVX opcodes
9 years ago
Frank Denis
3f3969ffae
EMSCRIPTEN -> __EMSCRIPTEN__
9 years ago
Frank Denis
049fd8fd6a
Add sodium_runtime_has_avx()
9 years ago
Frank Denis
2a77b18ad8
Version bump (not released yet)
9 years ago
Frank Denis
19308c5d5b
Bump the library major version, since some functions have been removed
Even though these functions were exported, the number of applications
using them directly is very likely to be zero.
Still, bump the major library version to be safe and compliant.
9 years ago
Frank Denis
920c459ac3
Link optimized compression functions for Blake2b
9 years ago
Frank Denis
26fdfec99b
Add sodium_runtime_has_ssse3() and sodium_runtime_has_sse41()
9 years ago