Implementation notes: amd64, cubi10, crypto_aead/triadaev1

Computer: cubi10
Microarchitecture: amd64; Comet Lake (806ec)
Architecture: amd64
CPU ID: GenuineIntel-000806ec-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_aead
Primitive: triadaev1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
1912514874 8 27331633 828 1400T:add_avxg++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1937414824 8 27329673 828 1400T:add_avxg++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1982716186 8 27330576 820 1400T:add_avxg++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
203849429 8 126747 876 1048T:add_sseclang++_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
204769383 8 123217 868 1016T:add_sseclang++_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
205349429 8 126651 876 1048T:add_sseclang++_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2131113127 8 127953 828 1112T:add_sseg++_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2131813457 8 130209 828 1112T:add_sseg++_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
2136013890 8 128248 820 1112T:add_sseg++_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
280258832 8 27322204 804 1368T:add_avxg++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
399076100 8 120249 868 1016T:add_sseclang++_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
720305322 8 118556 804 1080T:add_sseg++_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
33165309664 0 026282 788 1080T:refgcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
34421568312 0 022962 788 1080T:refgcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
35440315180 0 018221 764 1048T:refgcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1575082322206 0 039320 812 1048T:refclang_-march=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1615419414478 0 031496 812 1048T:refclang_-march=native_-O2_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
1734438621131 0 037536 812 1016T:refclang_-mcpu=native_-O3_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
326444226823 0 020454 804 1016T:refclang_-march=native_-Os_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
344562885975 0 019878 804 1016T:refclang_-march=native_-O_-fwrapv_-Qunused-arguments_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625
346244366271 0 020399 772 1080T:refgcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062720240625

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

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
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
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)