Implementation notes: amd64, rome0, crypto_aead/minalpherv11
Computer: rome0
Microarchitecture: amd64; Zen 2 (830f10)
Architecture: amd64
CPU ID: AuthenticAMD-00830f10-178bfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: minalpherv11
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
27757 | 44976 24 5506 | 61123 892 6552 | T:avx2 | clang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240721 | 20240716 |
27773 | 38578 24 5506 | 52345 884 6520 | T:avx2 | clang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240721 | 20240716 |
27800 | 44952 24 5506 | 60955 892 6552 | T:avx2 | clang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240721 | 20240716 |
35099 | 37286 24 5506 | 51529 884 6520 | T:avx2 | clang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240721 | 20240716 |
2385685 | 9050 0 0 | 25450 788 1080 | T:ref | gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240721 | 20240716 |
2988122 | 11581 0 0 | 27576 812 1048 | T:ref | clang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240721 | 20240716 |
3013394 | 13202 0 0 | 29328 812 1048 | T:ref | clang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240721 | 20240716 |
3236565 | 16088 0 0 | 32496 812 1016 | T:ref | clang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240721 | 20240716 |
3319531 | 7212 0 0 | 21906 788 1080 | T:ref | gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240721 | 20240716 |
3666801 | 4726 0 0 | 18374 804 1016 | T:ref | clang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240721 | 20240716 |
3735356 | 5581 0 0 | 19558 804 1016 | T:ref | clang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240721 | 20240716 |
4496582 | 6315 0 0 | 20527 772 1080 | T:ref | gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240721 | 20240716 |
5114350 | 5298 0 0 | 18405 764 1048 | T:ref | gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall | 20240721 | 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 (10.2.1_20210110) |
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) |