diff options
author | Paul Duncan <pabs@pablotron.org> | 2024-05-26 18:42:10 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2024-05-26 18:42:10 -0400 |
commit | d710dae94359c5a1c014531162b75981d384f28d (patch) | |
tree | 0d5eae620116f7135099216fc9afbb41d9340eac /main.c | |
parent | 689c96bff01673816832e565b9b4c5588d548b88 (diff) | |
download | sha3-d710dae94359c5a1c014531162b75981d384f28d.tar.bz2 sha3-d710dae94359c5a1c014531162b75981d384f28d.zip |
sha3.c: permute_n_avx2(): chi: explicit andnot
bench results
-------------
before (gcc, avx2):
> make clean all BACKEND=6 CC=gcc && ./bench
info: cpucycles: version=20240318 implementation=amd64-pmc persecond=4800000000
info: backend=avx2 num_trials=2000 src_lens=64,256,1024,4096,16384 dst_lens=32
function,dst_len,64,256,1024,4096,16384
sha3_224,28,30.8,15.3,15.4,14.0,13.8
sha3_256,32,30.7,15.3,15.4,15.0,14.6
sha3_384,48,30.6,23.0,19.2,19.2,19.0
sha3_512,64,30.2,30.7,28.8,27.4,27.4
shake128,32,30.6,15.3,13.5,12.1,11.9
shake256,32,30.8,15.4,15.4,15.0,14.6
after (gcc, avx2):
> make clean all BACKEND=6 CC=gcc && ./bench
info: cpucycles: version=20240318 implementation=amd64-pmc persecond=4800000000
info: backend=avx2 num_trials=2000 src_lens=64,256,1024,4096,16384 dst_lens=32
function,dst_len,64,256,1024,4096,16384
sha3_224,28,29.4,14.8,14.8,13.5,13.2
sha3_256,32,29.4,14.8,14.8,14.4,14.0
sha3_384,48,29.3,22.1,18.5,18.5,18.3
sha3_512,64,29.4,29.4,27.6,26.3,26.3
shake128,32,29.4,14.8,13.0,11.6,11.4
shake256,32,29.5,14.8,14.9,14.4,14.1
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions