Jeffrey Walton
89faf39228
Cleanup BLAKE2s
2018-11-15 03:35:39 -05:00
Jeffrey Walton
f69b7537f5
Update documentation
2018-11-15 03:27:23 -05:00
Jeffrey Walton
390fed72c5
Add word32 VectorStore overloads
2018-11-15 03:11:36 -05:00
Jeffrey Walton
10f85d6596
Make Altivec vector wraps friendly to downgrades
...
The way the existing ppc_simd.h is written makes it hard to to switch between the old Altivec loads and stores and the new POWER7 loads and stores. This checkin rewrites the wrappers to use _ALTIVEC_, _ARCH_PWR7 and _ARCH_PWR8. The wrappers in this file now honor -maltivec, -mcpu-power7 and -mcpu=power8. It allows users to compile a source file, like chacha_simd.cpp, with a lower ISA and things just work for them.
2018-11-15 02:11:00 -05:00
Jeffrey Walton
3c7bdf1a26
Add Octet suffix for vec_sld
...
We need to make room for packed shifts and rotates
2018-11-14 23:32:26 -05:00
Jeffrey Walton
d656545875
Remove duplicate functions
2018-11-14 23:20:03 -05:00
Jeffrey Walton
505c58acc1
Add Octet suffix for vec_sld
...
We need to make room for packed shifts and rotates
2018-11-14 23:12:39 -05:00
Jeffrey Walton
fa8e692d84
Switch to compiler macros for PPC header
2018-11-14 22:59:17 -05:00
Jeffrey Walton
4f86bcc39d
Remove -qxlcompatmacros after Commit 96d3fa208e
2018-11-14 20:18:56 -05:00
Jeffrey Walton
96d3fa208e
Fix compile when using XLC with LLVM front-end without -qxlcompatmacros
2018-11-14 20:16:38 -05:00
Jeffrey Walton
7bd02896a0
Fix XLC flags with LLVM front-end
2018-11-14 20:01:05 -05:00
Jeffrey Walton
5b9b9b8d08
Whitespace check-in
2018-11-14 08:24:52 -05:00
Jeffrey Walton
7c9858f89c
Cleanup PowerPC and XLC feature tests
2018-11-14 08:19:39 -05:00
Jeffrey Walton
225ab6cb7b
Drop ChaCha requirements to POWER7
...
This costs about 0.6 cpb (700 MB/s on GCC112), but it makes the faster algorithm available to more machines. In the future we may want to provide both POWER7 and POWER8
2018-11-14 08:19:13 -05:00
Jeffrey Walton
b3941a433d
Fix some IBM XL C/C++ issues
2018-11-13 23:39:39 -05:00
bobsayshilol
7f8d3e8882
Miscellaneos warning fixes (GH #739 )
...
* Fix -pedantic warning in GCC.
* Fix -Wunused-private-field warning.
* Fix -Wkeyword-macro warning.
2018-11-13 22:04:03 -05:00
Jeffrey Walton
fc1e98e70d
Make feature test output filename configurable (PR #737 , GH #738 )
2018-11-13 14:02:40 -05:00
Jeffrey Walton
197f751831
Use Linux EOL conventions
2018-11-13 14:01:05 -05:00
Jeffrey Walton
00fc030fb4
Add test_pthreads.cxx to Filelist
2018-11-13 13:53:15 -05:00
Jeffrey Walton
926e91008b
Use Windows EOL conventions
2018-11-13 13:48:38 -05:00
Jeffrey Walton
69a00192b9
Add return value to pthread test function
2018-11-13 13:43:20 -05:00
Jeffrey Walton
dd6af58c98
Add pthreads test
2018-11-13 12:13:16 -05:00
Jeffrey Walton
e69106f257
Add "Invalid mnemonic" to bad result on PPC
2018-11-13 01:57:12 -05:00
Jeffrey Walton
27b61d8752
Add CRYPTOPP_INLINE to SIMON and SPECk for debugging
2018-11-13 00:02:34 -05:00
Jeffrey Walton
4da4f7ea2a
Add AVX2 arch to chacha_avx.cpp
2018-11-13 00:01:55 -05:00
Jeffrey Walton
57b2bf5708
Switch to VectorLoad overload with one arg
2018-11-12 23:38:46 -05:00
Jeffrey Walton
7515b4d661
Fix SIMON64 and SPECK64 providers
2018-11-12 22:03:26 -05:00
Jeffrey Walton
9550ccc9a3
Port SIMON64 to Altivec
...
SIMON64 runs about 4x faster than C++ for POWER4 and friends. If POWER7 is available it goes back to full speed due to efficient unaligned loads
2018-11-12 21:51:11 -05:00
Jeffrey Walton
a0608a6b80
Port SPECK64 to Altivec
...
SPECK64 runs about 4x faster than C++ for POWER4 and friends. If POWER7 is available it goes back to full speed due to efficient unaligned loads
2018-11-12 20:56:15 -05:00
Jeffrey Walton
b372f7d387
Clear unused variable warning
2018-11-12 16:54:29 -05:00
Jeffrey Walton
cff351de11
Simplify Aach64 polynomial multiply tests
2018-11-12 16:50:52 -05:00
Jeffrey Walton
6291e2fbeb
Simplify Aach64 polynomial multiply tests
2018-11-12 16:36:46 -05:00
Jeffrey Walton
75c9775944
Simplify Aach64 polynomial multiply tests
2018-11-12 16:27:48 -05:00
Jeffrey Walton
1070186bc4
Update Filelist.txt
2018-11-12 15:44:05 -05:00
Jeffrey Walton
cac97f041d
Rename PPC feature tests to test_ppc_xxx.cxx (PR #737 )
2018-11-12 15:43:01 -05:00
Jeffrey Walton
ff212dae3e
Rename x86 feature tests to test_x86_xxx.cxx (PR #737 )
2018-11-12 15:37:14 -05:00
Jeffrey Walton
41639e5ec6
Fix ARM A-32 and Aarch64 feature tests (PR #737 )
2018-11-12 14:59:36 -05:00
Jeffrey Walton
886fd7903d
Remove wildcard from a.out clean recipe
2018-11-12 05:25:01 -05:00
Jeffrey Walton
a0f3744ed4
Use __cpp_lib_uncaught_exceptions for CRYPTOPP_CXX17_EXCEPTIONS
...
Also see https://bugs.llvm.org/show_bug.cgi?id=39631
2018-11-12 03:37:32 -05:00
Jeffrey Walton
499a5e289d
Remove a.out artifacts whenever feature tests run (GH #738 )
2018-11-12 01:57:09 -05:00
Jeffrey Walton
f91584a7bc
Remove a.out artifacts on OS X during clean (GH #738 )
2018-11-12 00:56:54 -05:00
Jeffrey Walton
4e404cceeb
Fix incorrect Macport compiler detection (GH #738 )
2018-11-11 13:44:39 -05:00
Jeffrey Walton
b163176f82
Fix missing 'no such instruction' in assembler messages (GH #738 )
2018-11-11 13:35:03 -05:00
Jeffrey Walton
05f053007b
Make TrimComment call TrimSpace
2018-11-11 12:41:29 -05:00
Jeffrey Walton
de75959fd7
Move HAS_NEWLIB down to _XOPEN_SOURCE test
2018-11-11 11:54:58 -05:00
Jeffrey Walton
74ee0eef7e
Update comments
2018-11-11 10:55:51 -05:00
Jeffrey Walton
959d81b236
Fix cryptest.sh are *-simd file rename
2018-11-11 10:03:31 -05:00
Jeffrey Walton
40da78e5ad
Cleanup GNUmakefile (PR #737 )
2018-11-11 09:59:55 -05:00
Jeffrey Walton
04062661bf
Fix test program header include
2018-11-11 08:43:14 -05:00
Jeffrey Walton
8e83d7a8ff
Use __GNUC__ for POWER8 AES availability test
2018-11-11 08:00:45 -05:00