Implementation notes: amd64, dali, crypto_aead/minalpherv11
Computer: dali
Microarchitecture: amd64; Zen (820f01)
Architecture: amd64
CPU ID: AuthenticAMD-00820f01-178bfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: minalpherv11
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
43395 | 44952 24 5506 | 60955 892 6552 | T:avx2 | clang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
43429 | 44976 24 5506 | 61123 892 6552 | T:avx2 | clang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
43561 | 38578 24 5506 | 52345 884 6520 | T:avx2 | clang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
49692 | 37286 24 5506 | 51529 884 6520 | T:avx2 | clang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
2647827 | 9042 0 0 | 24754 788 1080 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
3249081 | 11581 0 0 | 27576 812 1048 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
3274668 | 13202 0 0 | 29328 812 1048 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
3342378 | 16088 0 0 | 32496 812 1016 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
3548193 | 7212 0 0 | 21922 788 1080 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
5252969 | 5298 0 0 | 18405 764 1048 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
5473813 | 6315 0 0 | 20527 772 1080 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
5775982 | 4726 0 0 | 18374 804 1016 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
6381395 | 5581 0 0 | 19558 804 1016 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240719 | 20240716 |
Compiler output
MinalpherCore.cpp: MinalpherCore.cpp:1057:55: warning: variable 'DATA4' is uninitialized when passed as a const reference argument here [-Wuninitialized-const-reference]
MinalpherCore.cpp: minalpher_core_quadruple_block(DATA1, DATA2, DATA3, DATA4, ymmA, ymmB);
MinalpherCore.cpp: ^~~~~
MinalpherCore.cpp: MinalpherCore.cpp:1067:63: warning: variable 'DATA4' is uninitialized when passed as a const reference argument here [-Wuninitialized-const-reference]
MinalpherCore.cpp: minalpher_core_quadruple_block_inverse(DATA1, DATA2, DATA3, DATA4, ymmA, ymmB);
MinalpherCore.cpp: ^~~~~
MinalpherCore.cpp: 2 warnings generated.
MinalpherMode.cpp: MinalpherMode.cpp:43:13: warning: unused function 'disp' [-Wunused-function]
MinalpherMode.cpp: static void disp(__m128i HI, __m128i LO){
MinalpherMode.cpp: ^
MinalpherMode.cpp: MinalpherMode.cpp:58:13: warning: unused function 'disp' [-Wunused-function]
MinalpherMode.cpp: static void disp(__m256i DATA){
MinalpherMode.cpp: ^
MinalpherMode.cpp: MinalpherMode.cpp:99:20: warning: unused function 'tweak_update' [-Wunused-function]
MinalpherMode.cpp: static inline void tweak_update( __m128i& LO, __m128i& HI, __m128i& xHI, int& cnt )
MinalpherMode.cpp: ^
MinalpherMode.cpp: 3 warnings generated.
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:avx2 | clang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:avx2 | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:avx2 | clang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:avx2 | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
MinalpherMode.cpp: MinalpherMode.cpp: In function 'void minalpher_mode_encrypt(const unsigned char*, const unsigned char*, const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int, unsigned char*, long long unsigned int*)':
MinalpherMode.cpp: MinalpherMode.cpp:244:18: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
MinalpherMode.cpp: 244 | if ((p + 96) < _alen){
MinalpherMode.cpp: | ~~~~~~~~~^~~~~~~
MinalpherMode.cpp: MinalpherMode.cpp:269:24: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
MinalpherMode.cpp: 269 | }else if ((p + 64) < _alen){
MinalpherMode.cpp: | ~~~~~~~~~^~~~~~~
MinalpherMode.cpp: MinalpherMode.cpp:288:24: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
MinalpherMode.cpp: 288 | }else if ((p + 32) < _alen){
MinalpherMode.cpp: | ~~~~~~~~~^~~~~~~
MinalpherMode.cpp: MinalpherMode.cpp:315:20: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
MinalpherMode.cpp: 315 | for (q = 0; q<(_alen - p); q++){
MinalpherMode.cpp: | ~^~~~~~~~~~~~
MinalpherMode.cpp: MinalpherMode.cpp:416:18: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
MinalpherMode.cpp: 416 | for (q = 0; q<(_mlen - 96 - p); q++){
MinalpherMode.cpp: | ~^~~~~~~~~~~~~~~~~
MinalpherMode.cpp: MinalpherMode.cpp:506:18: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
MinalpherMode.cpp: 506 | for (q = 0; q<(_mlen - 64 - p); q++){
MinalpherMode.cpp: | ~^~~~~~~~~~~~~~~~~
MinalpherMode.cpp: MinalpherMode.cpp:582:18: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
MinalpherMode.cpp: 582 | for (q = 0; q<(_mlen - 32 - p); q++){
MinalpherMode.cpp: | ~^~~~~~~~~~~~~~~~~
MinalpherMode.cpp: MinalpherMode.cpp:643:18: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
MinalpherMode.cpp: 643 | for (q = 0; q<(_mlen - p); q++){
MinalpherMode.cpp: | ~^~~~~~~~~~~~
MinalpherMode.cpp: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:avx2 | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:avx2 | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:avx2 | g++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall |
T:avx2 | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
Compiler output
encrypt.c: encrypt.c: In function 'crypto_mac_gen':
encrypt.c: encrypt.c:116:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
encrypt.c: 116 | int ret;
encrypt.c: | ^~~
minalpher.c: minalpher.c: In function 'AEAD_TGEN':
minalpher.c: minalpher.c:473:25: warning: variable 'j' set but not used [-Wunused-but-set-variable]
minalpher.c: 473 | unsigned long long i, j, blocknum;
minalpher.c: | ^
minalpher.c: minalpher.c: In function 'AEAD_MGEN':
minalpher.c: minalpher.c:560:15: warning: variable 'cnt' set but not used [-Wunused-but-set-variable]
minalpher.c: 560 | int d, pad, cnt;
minalpher.c: | ^~~
minalpher.c: minalpher.c:560:10: warning: variable 'pad' set but not used [-Wunused-but-set-variable]
minalpher.c: 560 | int d, pad, cnt;
minalpher.c: | ^~~
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
Namespace violations
encrypt.o crypto_mac_gen T
encrypt.o crypto_mac_verif T
minalpher.o AEAD_DEC T
minalpher.o AEAD_ENC T
minalpher.o MAC_GEN T
minalpher.o MAC_VERIF T
Number of similar (implementation,compiler) pairs: 9, namely:
Implementation | Compiler |
T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |