Implementation notes: amd64, h6sandy, crypto_aead/trivia0v2

Computer: h6sandy
Microarchitecture: amd64; Sandy Bridge (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240107
Operation: crypto_aead
Primitive: trivia0v2
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
7096415739 0 1233379 844 1056T:sse4clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
7239514587 0 1230299 844 1056T:sse4clang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
938778153 0 1222139 844 1056T:sse4clang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
1027293846 0 1217381 836 1056T:sse4clang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
1085056764 0 1223245 804 1120T:sse4gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
1101774543 0 1219741 804 1120T:sse4gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
1265684927 0 1219788 796 1120T:sse4gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
19026212695 0 030435 844 1024T:refclang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
1972508970 0 025427 844 1024T:refclang_-mcpu=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
2584895959 0 019979 844 1024T:refclang_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
26289311106 0 026907 844 1024T:refclang_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
2672184159 0 017781 836 1024T:refclang_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2023121320231212
3020329980 0 026533 804 1088T:refgcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
3156825156 0 020429 804 1088T:refgcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
4035404414 0 019340 796 1088T:refgcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212
9347013804 0 017456 780 1056T:refgcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2023121320231212

Compiler output

Implementation: T:sse4
Security model: timingleaks
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.c: encrypt.c:229:1: warning: '/*' within block comment [-Wcomment]
encrypt.c: /*----------------------------------------------------------------*/
encrypt.c: ^
encrypt.c: 1 warning generated.

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse4
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse4
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse4
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse4

Compiler output

Implementation: T:sse4
Security model: timingleaks
Compiler: clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.c: encrypt.c:229:1: warning: '/*' within block comment [-Wcomment]
encrypt.c: /*----------------------------------------------------------------*/
encrypt.c: ^
encrypt.c: encrypt.c:306:6: error: '__builtin_ia32_pclmulqdq128' needs target feature pclmul
encrypt.c: x = _mm_clmulepi64_si128(x,y,0x0);
encrypt.c: ^
encrypt.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/__wmmintrin_pclmul.h:45:13: note: expanded from macro '_mm_clmulepi64_si128'
encrypt.c: ((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(X), \
encrypt.c: ^
encrypt.c: encrypt.c:313:6: error: '__builtin_ia32_pclmulqdq128' needs target feature pclmul
encrypt.c: x = _mm_clmulepi64_si128(x,y,0x0);
encrypt.c: ^
encrypt.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/__wmmintrin_pclmul.h:45:13: note: expanded from macro '_mm_clmulepi64_si128'
encrypt.c: ((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(X), \
encrypt.c: ^
encrypt.c: encrypt.c:319:6: error: '__builtin_ia32_pclmulqdq128' needs target feature pclmul
encrypt.c: x = _mm_clmulepi64_si128(x,y,0x0);
encrypt.c: ^
encrypt.c: /usr/lib/llvm-14/lib/clang/14.0.0/include/__wmmintrin_pclmul.h:45:13: note: expanded from macro '_mm_clmulepi64_si128'
encrypt.c: ((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(X), \
encrypt.c: ^
encrypt.c: 1 warning and 3 errors generated.

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE T:sse4

Compiler output

Implementation: T:sse4
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE
try.c: /usr/bin/ld: libcrypto_aead_trivia0v2.a(encrypt.o): in function `V_Horner_32':
try.c: encrypt.c:(.text+0x...): undefined reference to `Mult_by_alpha_power'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `Mult_by_alpha_power'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `Mult_by_alpha_power'
try.c: /usr/bin/ld: libcrypto_aead_trivia0v2.a(encrypt.o): in function `V_Horner_64':
try.c: encrypt.c:(.text+0x...): undefined reference to `Mult_by_beta_power'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `Mult_by_beta_power'
try.c: /usr/bin/ld: libcrypto_aead_trivia0v2.a(encrypt.o): in function `Initialize_process_AD_Reinitialize':
try.c: encrypt.c:(.text+0x...): undefined reference to `load64'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `pad'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `insert_SC'
try.c: /usr/bin/ld: libcrypto_aead_trivia0v2.a(encrypt.o): in function `crypto_aead_trivia0v2_sse4_timingleaks_encrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `load64'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `load64'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `load64'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `load64'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `pad'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `store32'
try.c: /usr/bin/ld: libcrypto_aead_trivia0v2.a(encrypt.o): in function `crypto_aead_trivia0v2_sse4_timingleaks_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `dec_load64'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `dec_load64'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `dec_load64'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `dec_load64'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `pad'
try.c: /usr/bin/ld: encrypt.c:(.text+0x...): undefined reference to `dec_load32'
try.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:sse4