diff options
author | Paul Duncan <pabs@pablotron.org> | 2024-05-05 11:46:39 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2024-05-05 11:46:39 -0400 |
commit | 7785d7419bf82205f43f935464df5d455965afa8 (patch) | |
tree | 2f89783371628d7a5773ecc1a071b7deb4e85ab1 /examples/02-kmac128 | |
parent | 6678b734ef7e91e0cf91d748910b778891a53e88 (diff) | |
download | sha3-7785d7419bf82205f43f935464df5d455965afa8.tar.bz2 sha3-7785d7419bf82205f43f935464df5d455965afa8.zip |
sha3.c: add diet-neon backend (even slower, see commit message)
scalar bench results:
info: cpucycles: version=20240318 implementation=arm64-vct persecond=2400000000
info: backend=scalar num_trials=50000 src_lens=64,256,1024,4096,16384 dst_lens=32
function,dst_len,64,256,1024,4096,16384
sha3_224,28,20.2,10.3,10.3,9.3,9.2
sha3_256,32,20.2,10.1,10.3,9.9,9.7
sha3_384,48,20.9,15.1,12.8,12.7,12.5
sha3_512,64,20.2,20.2,18.9,18.0,18.0
shake128,32,20.2,10.1,9.0,8.1,7.9
shake256,32,20.2,10.1,10.3,9.9,9.7
neon bench results:
info: cpucycles: version=20240318 implementation=arm64-vct persecond=2400000000
info: backend=neon num_trials=50000 src_lens=64,256,1024,4096,16384 dst_lens=32
function,dst_len,64,256,1024,4096,16384
sha3_224,28,32.7,16.2,16.3,14.8,14.5
sha3_256,32,32.7,16.2,16.3,15.8,15.4
sha3_384,48,32.7,24.2,20.3,20.3,20.0
sha3_512,64,32.0,32.3,30.2,28.7,29.3
shake128,32,34.8,16.9,14.9,13.3,13.4
shake256,32,35.5,18.1,17.4,17.2,16.4
diet-neon bench results:
info: cpucycles: version=20240318 implementation=arm64-vct persecond=2400000000
info: backend=diet-neon num_trials=50000 src_lens=64,256,1024,4096,16384 dst_lens=32
function,dst_len,64,256,1024,4096,16384
sha3_224,28,33.4,16.5,16.6,15.1,15.0
sha3_256,32,33.4,16.5,16.6,16.1,15.9
sha3_384,48,33.4,25.0,21.0,20.7,21.4
sha3_512,64,33.4,34.9,33.5,31.1,32.0
shake128,32,36.8,18.4,16.3,14.3,14.0
shake256,32,34.1,17.7,18.2,17.6,17.3
Diffstat (limited to 'examples/02-kmac128')
0 files changed, 0 insertions, 0 deletions