Jeffrey Walton
18bfe2a50a
Fix AlgorithmProvider for CHAM and LEA on Solaris
2018-08-17 07:55:35 -04:00
Jeffrey Walton
b2c5616ede
Fix AlgorithmProvider for SIMON and SPECK on Solaris
2018-08-17 07:49:35 -04:00
Jeffrey Walton
e2be0cdecc
Make ChaCha an Salsa use the same design pattern
2018-08-17 06:19:30 -04:00
Jeffrey Walton
3e55bfca7d
Cleanup header includes for SSE
...
Travis is failing because the system headers don't guard their functions and datatypess properly
2018-08-16 19:37:36 -04:00
Jeffrey Walton
2876371cea
Add GNUmakefile-cross flags SIMON and SPECK
2018-08-16 18:24:22 -04:00
Jeffrey Walton
a4c5bdf821
Remove unneeded comments
2018-08-15 13:30:11 -04:00
Jeffrey Walton
16cf591f3c
Cutover to BLAKE2 team impl
...
The BLAKE2 team runs a tad bit slower but we want to push maintenance onto them
2018-08-15 13:25:53 -04:00
Jeffrey Walton
f28fb0a176
Add SIMON-128 and SPECK-128 source files
2018-08-15 10:02:00 -04:00
Jeffrey Walton
7a43a04048
Split simon-simd.cpp and speck-simd.cpp into separate source files
...
SIMON-64 and SIMON-128 have different ISA requirements. The same applies to SPECK-64 and SPECK-128. GCC generated code that resulted in a SIGILL due to the ISA differences on a down level machine. The instructions was a mtfprwz from POWER8. It was prsent in a function prologue on a POWER7 machine.
2018-08-15 09:59:40 -04:00
Jeffrey Walton
eb57dc5481
Whitespace check-in
2018-08-15 05:34:05 -04:00
Jeffrey Walton
014f3d08c2
Make AdvancedProcessBlocks64_6x2_ALTIVEC inline
2018-08-15 05:18:38 -04:00
Jeffrey Walton
c26aad8a25
Use PtrSub to subtract offset from pointer
2018-08-15 03:16:08 -04:00
Jeffrey Walton
1253bccf06
Add VectorLoad(word32 arr[4]) overloads
2018-08-15 02:12:27 -04:00
Jeffrey Walton
6f1caab7c2
Move SIMON-64 and SPECK-64 to Power7 minimum
...
SIMON-64 and SPECK-64 don't use 64-bit type so they can run on Power7. We may be able to drop to Power4, but we need to test the effects of Loads and Stores without vec_vxs_ld and vec_vsx_st
2018-08-14 23:31:40 -04:00
Jeffrey Walton
62e95313af
Update comments
2018-08-14 20:49:26 -04:00
Jeffrey Walton
9d15a9ee16
Fix SIMON-64 on AIX
2018-08-14 20:44:50 -04:00
Jeffrey Walton
9a78b92429
Update comments
2018-08-14 20:04:28 -04:00
Jeffrey Walton
cf0c487c2a
Fix SPECK-64 on AIX
2018-08-14 19:14:41 -04:00
Jeffrey Walton
9b91b94b05
Add POWER8 SIMON-64 implementation
2018-08-14 07:14:39 -04:00
Jeffrey Walton
d8c28bdc2b
Make SPECK-64 more symmetrical
2018-08-14 06:19:34 -04:00
Jeffrey Walton
f1b190740c
Update comments
2018-08-14 06:07:19 -04:00
Jeffrey Walton
93149e4c25
Update comments
2018-08-14 05:15:32 -04:00
Jeffrey Walton
d221336f42
Add POWER8 SPECK-64 implementation
2018-08-14 03:36:49 -04:00
Jeffrey Walton
462851907f
Add AdvancedProcessBlocks64_6x2_ALTIVEC template
2018-08-14 03:32:45 -04:00
Jeffrey Walton
b35632e89e
Cleanup SIMON-128 code
...
The check-in provides more unification and sets the pattern used with SIMON-64
2018-08-14 01:45:23 -04:00
Jeffrey Walton
9d60081619
Cleanup SPECK-128 code
...
The check-in provides more unification and sets the pattern used with SPECK-64
2018-08-14 01:22:17 -04:00
Jeffrey Walton
7c70b39d18
Cleanup DRBGs
...
The change picks up about 10 cpb or 20 MB/s on Power8.
2018-08-13 09:54:07 -04:00
Jeffrey Walton
9143a05508
Whitespace check-in
2018-08-13 07:47:56 -04:00
Jeffrey Walton
b4c0404bce
Refactor lea-simd.cpp
...
This was part of a POWER8 LEA implementation. The numbers were awful but we still needed the code cleanup
2018-08-13 07:19:17 -04:00
Jeffrey Walton
dbe7025356
Add AdvancedProcessBlocks128_4x1_ALTIVEC template
2018-08-13 06:38:30 -04:00
Jeffrey Walton
78939cb685
Update comments
2018-08-13 01:51:01 -04:00
Jeffrey Walton
de7f4a0894
Fix carry bug in AdvancedProcessBlocks128_6x1_ALTIVEC
2018-08-13 01:44:23 -04:00
Jeffrey Walton
7dc2e6ea31
Switch to byte instead of uint8_t
...
Several places in ppc-simd.h used uint8_t rather than byte
2018-08-13 00:41:55 -04:00
Jeffrey Walton
39b1f60de5
Fix compile under XLC
2018-08-13 00:16:05 -04:00
Jeffrey Walton
e0a35cf18a
Fix compile under XLC
2018-08-13 00:15:06 -04:00
Jeffrey Walton
89476e280d
Cleanup adv-simd.h for ARM
2018-08-12 19:51:50 -04:00
Jeffrey Walton
7f374faf52
Cleanup adv-simd.h for x86
2018-08-12 19:04:14 -04:00
Jeffrey Walton
6c621f91ce
Add POWER8 SIMON-128 implementation
...
Performance went from about 30 to 40 cpb to 5.5 to 9 cpb, depending on endian-ness
2018-08-12 09:21:09 -04:00
Jeffrey Walton
aa806f3475
Add SPECK-128 provider for POWER8
2018-08-12 04:40:10 -04:00
Jeffrey Walton
3e26437249
Remove debug statement
...
Thus slipped by during commit 898dab99b8
2018-08-12 04:24:08 -04:00
Jeffrey Walton
898dab99b8
Add POWER8 SPECK-128 implementation
...
Performance went from about 14 cpb to 2-3 cpb, depending on endian-ness
2018-08-12 04:08:33 -04:00
Jeffrey Walton
dd4f87fa11
Clear IBM XLC warnings on PowerPC
2018-08-12 04:06:06 -04:00
Jeffrey Walton
afe72c50f0
Add VectorSub and VectorSwapWords
2018-08-12 04:05:14 -04:00
Jeffrey Walton
3d6c8d9589
Update comments
2018-08-12 01:12:00 -04:00
Jeffrey Walton
8d62b500cc
Add validat9.cpp to filter list
2018-08-11 23:05:58 -04:00
Jeffrey Walton
d109ce09d0
Update comments and function names
...
Someone trying to make sense of POWER8 GCM is bound to be confused even with the expanded comments and updated function names
2018-08-11 06:40:21 -04:00
Jeffrey Walton
6993d1d0bd
Update comments
2018-08-11 00:55:52 -04:00
Jeffrey Walton
78d3a279dc
Remove specializations for VectorShiftLeft and VectorShiftRight
2018-08-10 23:29:20 -04:00
Jeffrey Walton
555f4742c7
Fix buffering and unusual tag output due to ostringstream
2018-08-10 06:40:44 -04:00
Jeffrey Walton
94eff2cdd6
Remove INLINE used for debugging
...
We needed to switch inlining off manually. GDB was not stepping into code for us. No longer needed
2018-08-10 05:19:08 -04:00