Implementation notes: amd64, panther, crypto_aead/triadaev1

Computer: panther
Microarchitecture: amd64; Tiger Lake (806c1)
Architecture: amd64
CPU ID: GenuineIntel-000806c1-00-bfebfbff
SUPERCOP version: 20240808
Operation: crypto_aead
Primitive: triadaev1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
102916893 8 124104 892 1048T:add_sseclang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
103116893 8 124088 892 1048T:add_sseclang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
103216822 8 120742 884 1016T:add_sseclang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
1878315386 8 27332321 828 1400T:add_avxg++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
1879115336 8 27330201 828 1400T:add_avxg++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
1977512101 8 126456 820 1112T:add_sseg++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
1980611911 8 126753 828 1112T:add_sseg++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
1982912273 8 129201 828 1112T:add_sseg++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
2334715982 8 27330368 820 1400T:add_avxg++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
275148811 8 27322172 804 1368T:add_avxg++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
317635844 8 120006 884 1016T:add_sseclang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
1420455053 8 118284 804 1080T:add_sseg++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
27523889664 0 026442 788 1080T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
29620085180 0 018221 764 1048T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
50262668312 0 022978 788 1080T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
1385222021131 0 037549 828 1016T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
1385525122206 0 039205 828 1048T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
1453994514478 0 031461 828 1048T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
331677335975 0 019891 820 1016T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
344309646271 0 020399 772 1080T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716
365666876823 0 020539 820 1016T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024071720240716

Checksum failure


eb9e3f73f0672a15861f8525d9d849b80bff67f0acd07132f0843aafc481a04f

Number of similar (implementation,compiler) pairs: 3, namely:
ImplementationCompiler
T:add_avxclang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:add_avxclang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:add_avxclang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Checksum failure


5b926c0bb8ce28f0f9cb6721fcb1dc5cfc4383592d1553583b0a110295bdf299

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:add_avxclang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


simd.cpp: simd.cpp:23:13: warning: unused function 'disp' [-Wunused-function]
simd.cpp: static void disp(__m128i in) {
simd.cpp:             ^
simd.cpp: simd.cpp:59:13: warning: unused function 'dispReg' [-Wunused-function]
simd.cpp: static void dispReg(__m256i in) {
simd.cpp:             ^
simd.cpp: 2 warnings generated.

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:add_avxclang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:add_avxclang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:add_avxclang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:add_avxclang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


simd.cpp: simd.cpp:59:13: warning: 'void dispReg(__m256i)' defined but not used [-Wunused-function]
simd.cpp:    59 | static void dispReg(__m256i in) {
simd.cpp:       |             ^~~~~~~
simd.cpp: simd.cpp:23:13: warning: 'void disp(__m128i)' defined but not used [-Wunused-function]
simd.cpp:    23 | static void disp(__m128i in) {
simd.cpp:       |             ^~~~

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:add_avxg++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:add_avxg++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:add_avxg++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:add_avxg++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Compiler output


simd.cpp: simd.cpp:22:13: warning: unused function 'disp' [-Wunused-function]
simd.cpp: static void disp(__m128i in) {
simd.cpp:             ^
simd.cpp: simd.cpp:38:13: warning: unused function 'dispReg' [-Wunused-function]
simd.cpp: static void dispReg(__m128i in) {
simd.cpp:             ^
simd.cpp: simd.cpp:54:13: warning: unused function 'dispReg' [-Wunused-function]
simd.cpp: static void dispReg(__m128i inL, __m128i inR) {
simd.cpp:             ^
simd.cpp: 3 warnings generated.

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:add_sseclang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:add_sseclang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:add_sseclang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:add_sseclang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)

Compiler output


simd.cpp: simd.cpp:54:13: warning: 'void dispReg(__m128i, __m128i)' defined but not used [-Wunused-function]
simd.cpp:    54 | static void dispReg(__m128i inL, __m128i inR) {
simd.cpp:       |             ^~~~~~~
simd.cpp: simd.cpp:38:13: warning: 'void dispReg(__m128i)' defined but not used [-Wunused-function]
simd.cpp:    38 | static void dispReg(__m128i in) {
simd.cpp:       |             ^~~~~~~
simd.cpp: simd.cpp:22:13: warning: 'void disp(__m128i)' defined but not used [-Wunused-function]
simd.cpp:    22 | static void disp(__m128i in) {
simd.cpp:       |             ^~~~

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:add_sseg++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:add_sseg++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:add_sseg++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:add_sseg++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Compiler output


encrypt.c: encrypt.c: In function 'Initialization':
encrypt.c: encrypt.c:86:16: warning: variable 'd' set but not used [-Wunused-but-set-variable]
encrypt.c:    86 |  unsigned char d, c1[8], c2[8], c3[8], c4[8];
encrypt.c:       |                ^
encrypt.c: encrypt.c: In function 'Initialization_mac':
encrypt.c: encrypt.c:153:16: warning: variable 'd' set but not used [-Wunused-but-set-variable]
encrypt.c:   153 |  unsigned char d, c1[8], c2[8], c3[8], c4[8];
encrypt.c:       |                ^
encrypt.c: encrypt.c: In function 'macgeneration_part':
encrypt.c: encrypt.c:342:32: warning: variable 'kstem' set but not used [-Wunused-but-set-variable]
encrypt.c:   342 |  unsigned char ks[64], mac[8], kstem = 0;
encrypt.c:       |                                ^~~~~
encrypt.c: encrypt.c: In function 'tagverification_part':
encrypt.c: encrypt.c:393:32: warning: variable 'kstem' set but not used [-Wunused-but-set-variable]
encrypt.c:   393 |  unsigned char ks[64], tag[8], kstem = 0,check = 0;
encrypt.c:       |                                ^~~~~

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)

Namespace violations


encrypt.o Init_loading T
encrypt.o Initialization T
encrypt.o Initialization_mac T
encrypt.o Keystreamgen T
encrypt.o Keystreamgen_byte T
encrypt.o Stateupdate T
encrypt.o dec_onebyte T
encrypt.o decryption_part T
encrypt.o enc_onebyte T
encrypt.o encryption_part T
encrypt.o filter T
encrypt.o mac_onebyte_ad T
encrypt.o mac_onebyte_message T
encrypt.o macgeneration_part T
encrypt.o tagverification_part T

Number of similar (implementation,compiler) pairs: 9, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1)
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110)