diff options
author | Siarhei Siamashka <siarhei.siamashka@gmail.com> | 2011-12-29 01:38:05 +0200 |
---|---|---|
committer | Siarhei Siamashka <siarhei.siamashka@gmail.com> | 2011-12-29 06:46:17 +0200 |
commit | 7a9481d266b58bd02a7d8033f359ca344cfd65d6 (patch) | |
tree | ecc2a56b02db52a0466be9958ab8faee1f0a2b3b /scrypt-cell-spu.c | |
parent | a0139edc7e2c3aa8252405ceff8a23a065965716 (diff) |
Use gcc vector extensions for SIMD scrypt key derivation function
The code can be compiled for different architectures from the same
source starting with gcc 4.7. But SSE2/Altivec/SPU targets have
compatibility wrappers, which also allow the use of older versions
of gcc.
Two hashes are processed at the same time, so twice bigger scratch
buffer is needed (~256K vs. ~128K).
Speedup on Cell PPU (32-bit), single thread, 3.2GHz:
~0.58 khash/s -> ~1.79 khash/sec
Diffstat (limited to 'scrypt-cell-spu.c')
0 files changed, 0 insertions, 0 deletions