Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-01-01 | Use the SHA256 code tweaked by pooler | Siarhei Siamashka | |
Because the data endiannes has changed (native instead of little endian) and also SHA256 functions arguments are now different, this required lots of changes all over the place. Improves Altivec performance on Cell PPU from ~3.4 khash/s to ~3.6 khash/s (two threads). Seems to have no effect on SPU performance though. | |||
2011-12-29 | Use gcc vector extensions for SIMD scrypt key derivation function | Siarhei Siamashka | |
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 |