Implementation notes: amd64, hertz, crypto_aead/elephant200v1
Computer: hertz
Microarchitecture: amd64; Zen 4 (a60f12)
Architecture: amd64
CPU ID: AuthenticAMD-00a60f12-178bfbff
SUPERCOP version: 20240716
Operation: crypto_aead
Primitive: elephant200v1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
60903 | 46260 0 0 | 67190 828 1096 | T:ref-parallel | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
69107 | 41800 0 0 | 62606 828 1096 | T:ref-parallel | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
76082 | 37062 0 0 | 54455 812 1160 | T:ref-parallel | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
97137 | 21438 0 0 | 35088 780 1064 | T:ref-parallel | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
98317 | 25254 0 0 | 40623 812 1096 | T:ref-parallel | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
102556 | 24822 0 0 | 39864 820 1096 | T:ref-parallel | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
896450 | 7484 0 0 | 28550 828 1096 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
906056 | 8348 0 0 | 29526 828 1096 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
954100 | 8372 0 0 | 25645 804 1160 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
2549621 | 4324 0 0 | 19565 804 1096 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
2789645 | 4717 0 0 | 19736 820 1096 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
4488057 | 2925 0 0 | 16504 780 1064 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240716 | 20240716 |
Compiler output
encrypt.c: In function 'xor_block',
encrypt.c: inlined from 'crypto_aead_impl' at encrypt.c:139:13:
encrypt.c: encrypt.c:33:18: warning: writing 32 bytes into a region of size 25 [-Wstringop-overflow=]
encrypt.c: 33 | state[i] ^= block[i];
encrypt.c: | ~~~~~~~~~^~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_impl':
encrypt.c: encrypt.c:120:10: note: destination object 'c_buffer' of size 25
encrypt.c: 120 | BYTE c_buffer[BLOCK_SIZE];
encrypt.c: | ^~~~~~~~
encrypt.c: In function 'xor_block',
encrypt.c: inlined from 'crypto_aead_impl' at encrypt.c:139:13:
encrypt.c: encrypt.c:33:18: warning: writing 32 bytes into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 33 | state[i] ^= block[i];
encrypt.c: | ~~~~~~~~~^~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_impl':
encrypt.c: encrypt.c:120:10: note: at offset [32, 57] into destination object 'c_buffer' of size 25
encrypt.c: 120 | BYTE c_buffer[BLOCK_SIZE];
encrypt.c: | ^~~~~~~~
encrypt.c: In function 'xor_block',
encrypt.c: inlined from 'crypto_aead_impl' at encrypt.c:139:13:
encrypt.c: encrypt.c:33:18: warning: writing 32 bytes into a region of size 0 [-Wstringop-overflow=]
encrypt.c: 33 | state[i] ^= block[i];
encrypt.c: | ~~~~~~~~~^~~~~~~~~~~
encrypt.c: encrypt.c: In function 'crypto_aead_impl':
encrypt.c: encrypt.c:120:10: note: at offset [64, 89] into destination object 'c_buffer' of size 25
encrypt.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Namespace violations
encrypt.o constcmp T
encrypt.o crypto_aead_impl T
encrypt.o get_ad_block T
encrypt.o get_c_block T
encrypt.o lfsr_step T
encrypt.o rotl T
encrypt.o xor_block T
keccak.o KeccakP200Round T
keccak.o KeccakRhoOffsets R
keccak.o KeccakRoundConstants R
keccak.o chi T
keccak.o iota T
keccak.o permutation T
keccak.o pi T
keccak.o rho T
keccak.o theta T
Number of similar (implementation,compiler) pairs: 6, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
Namespace violations
encrypt.o big_lfsr_step T
encrypt.o constcmp T
encrypt.o crypto_aead_impl T
encrypt.o get_ad_block T
encrypt.o get_c_block T
encrypt.o incomplete_block_mask R
encrypt.o lfsr_step T
encrypt.o mask_block T
encrypt.o prepare_big_buffer T
encrypt.o slice_in T
encrypt.o slice_in_block T
encrypt.o slice_in_nonce T
encrypt.o xor_block T
encrypt.o xor_blocks T
encrypt.o xor_tag_block T
encrypt.o xor_words T
keccak.o KeccakF1600RoundConstants R
keccak.o KeccakP1600_Initialize T
keccak.o KeccakP1600_Permute_18rounds T
keccak.o KeccakP1600_Permute_Nrounds T
keccak.o bigpermutation T
keccak.o permutation T
Number of similar (implementation,compiler) pairs: 6, namely:
Implementation | Compiler |
T:ref-parallel | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref-parallel | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref-parallel | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_18.1.3_(1ubuntu1)) |
T:ref-parallel | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref-parallel | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |
T:ref-parallel | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (13.2.0) |