Test results for amd64, hydra8, crypto_aead/triadaev1

[Page version: 20241023 11:39:55]

Measurements for amd64, hydra8, crypto_aead Test results for amd64, hydra8, crypto_aead Test results for crypto_aead/triadaev1
Computer: hydra8
Microarchitecture: amd64; Ivy Bridge+AES (306a9)
Architecture: amd64
CPU ID: GenuineIntel-000306a9-bfebfbff
SUPERCOP version: 20241022
Operation: crypto_aead
Primitive: triadaev1
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
275046029183 0 046936 860 1024T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024071720240716
282872328359 0 044848 860 1024T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024071720240716
283802422191 0 036224 860 1024T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024071720240716
372029029183 0 044992 860 1024T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024071720240716
406108510967 0 024668 860 1024T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2024071720240716
467561610142 0 026759 812 1088T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024071720240716
48809648326 0 023687 812 1088T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024071720240716
53416515503 0 019234 788 1056T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024071720240716
454466286007 0 020932 796 1088T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2024071720240716

Compiler output


simd.cpp: simd.cpp:402:13: error: always_inline function '_mm256_unpacklo_epi8' requires target feature 'avx2', but would be inlined into function 'triad_high_speed_encryption' that is compiled without support for 'avx2'
simd.cpp:     in[0] = _mm256_unpacklo_epi8(in[2], in[1]);
simd.cpp:             ^
simd.cpp: simd.cpp:403:13: error: '__builtin_ia32_pslldqi256_byteshift' needs target feature avx2
simd.cpp:     in[0] = _mm256_slli_si256(in[0], 6);
simd.cpp:             ^
simd.cpp: /usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:497:13: note: expanded from macro '_mm256_slli_si256'
simd.cpp:   ((__m256i)__builtin_ia32_pslldqi256_byteshift((__v4di)(__m256i)(a), (int)(imm)))
simd.cpp:             ^
simd.cpp: simd.cpp:410:13: error: always_inline function '_mm256_xor_si256' requires target feature 'avx2', but would be inlined into function 'triad_high_speed_encryption' that is compiled without support for 'avx2'
simd.cpp:     in[0] = _mm256_xor_si256(in[0], _mm256_castsi128_si256(p_bar_input));
simd.cpp:             ^
simd.cpp: simd.cpp:411:13: error: always_inline function '_mm256_xor_si256' requires target feature 'avx2', but would be inlined into function 'triad_high_speed_encryption' that is compiled without support for 'avx2'
simd.cpp:     in[1] = _mm256_xor_si256(in[1], _mm256_castsi128_si256(p_bar_input));
simd.cpp:             ^
simd.cpp: simd.cpp:412:13: error: always_inline function '_mm256_xor_si256' requires target feature 'avx2', but would be inlined into function 'triad_high_speed_encryption' that is compiled without support for 'avx2'
simd.cpp:     in[2] = _mm256_xor_si256(in[2], _mm256_castsi128_si256(p_bar_input));
simd.cpp:             ^
simd.cpp: simd.cpp:427:17: error: always_inline function '_mm256_xor_si256' requires target feature 'avx2', but would be inlined into function 'triad_high_speed_encryption' that is compiled without support for 'avx2'
simd.cpp:         in[0] = _mm256_xor_si256(in[0], _mm256_castsi128_si256(xmm_a));
simd.cpp:                 ^
simd.cpp: simd.cpp:428:17: error: always_inline function '_mm256_xor_si256' requires target feature 'avx2', but would be inlined into function 'triad_high_speed_encryption' that is compiled without support for 'avx2'
simd.cpp:         in[1] = _mm256_xor_si256(in[1], _mm256_castsi128_si256(xmm_a));
simd.cpp:                 ^
simd.cpp: simd.cpp:429:17: error: always_inline function '_mm256_xor_si256' requires target feature 'avx2', but would be inlined into function 'triad_high_speed_encryption' that is compiled without support for 'avx2'
simd.cpp: ...

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

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:       |             ^~~~
simd.cpp: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
simd.cpp:                  from /usr/lib/gcc/x86_64-linux-gnu/11/include/x86intrin.h:32,
simd.cpp:                  from simd.cpp:16:
simd.cpp: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h: In function 'void triad_update_encryption(const __m256i*, __m256i*) [with int i = 7]':
simd.cpp: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h:207:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_blendv_epi8(__m256i, __m256i, __m256i)': target specific option mismatch
simd.cpp:   207 | _mm256_blendv_epi8 (__m256i __X, __m256i __Y, __m256i __M)
simd.cpp:       | ^~~~~~~~~~~~~~~~~~
simd.cpp: simd.cpp:224:32: note: called from here
simd.cpp:   224 |     out[1] = _mm256_blendv_epi8(out[1], newb, BlendMask256List[i - 1]);
simd.cpp:       |              ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
simd.cpp: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
simd.cpp:                  from /usr/lib/gcc/x86_64-linux-gnu/11/include/x86intrin.h:32,
simd.cpp:                  from simd.cpp:16:
simd.cpp: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h:746:1: error: inlining failed in call to 'always_inline' '__m256i _mm256_srli_si256(__m256i, int)': target specific option mismatch
simd.cpp:   746 | _mm256_srli_si256 (__m256i __A, const int __N)
simd.cpp:       | ^~~~~~~~~~~~~~~~~
simd.cpp: simd.cpp:223:31: note: called from here
simd.cpp:   223 |     out[1] = _mm256_srli_si256(in[1], i);
simd.cpp:       |              ~~~~~~~~~~~~~~~~~^~~~~~~~~~
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 (11.4.0)
T:add_avxg++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:add_avxg++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:add_avxg++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall

Compiler output


simd.cpp: simd.cpp:237:12: error: always_inline function '_mm_broadcastq_epi64' requires target feature 'avx2', but would be inlined into function 'triad_high_speed_encryption' that is compiled without support for 'avx2'
simd.cpp:   inR[0] = _mm_broadcastq_epi64(in[0]);
simd.cpp:            ^
simd.cpp: simd.cpp:238:12: error: always_inline function '_mm_broadcastq_epi64' requires target feature 'avx2', but would be inlined into function 'triad_high_speed_encryption' that is compiled without support for 'avx2'
simd.cpp:   inR[1] = _mm_broadcastq_epi64(in[1]);
simd.cpp:            ^
simd.cpp: simd.cpp:239:12: error: always_inline function '_mm_broadcastq_epi64' requires target feature 'avx2', but would be inlined into function 'triad_high_speed_encryption' that is compiled without support for 'avx2'
simd.cpp:   inR[2] = _mm_broadcastq_epi64(in[2]);
simd.cpp:            ^
simd.cpp: simd.cpp:317:12: error: '__builtin_ia32_pblendd128' needs target feature avx2
simd.cpp:   inL[0] = _mm_blend_epi32(inL[0], s1024L[0], 0xC);
simd.cpp:            ^
simd.cpp: /usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:746:13: note: expanded from macro '_mm_blend_epi32'
simd.cpp:   ((__m128i)__builtin_ia32_pblendd128((__v4si)(__m128i)(V1), \
simd.cpp:             ^
simd.cpp: simd.cpp:318:12: error: '__builtin_ia32_pblendd128' needs target feature avx2
simd.cpp:   inL[1] = _mm_blend_epi32(inL[1], s1024L[1], 0xC);
simd.cpp:            ^
simd.cpp: /usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:746:13: note: expanded from macro '_mm_blend_epi32'
simd.cpp:   ((__m128i)__builtin_ia32_pblendd128((__v4si)(__m128i)(V1), \
simd.cpp:             ^
simd.cpp: simd.cpp:319:12: error: '__builtin_ia32_pblendd128' needs target feature avx2
simd.cpp:   inL[2] = _mm_blend_epi32(inL[2], s1024L[2], 0xC);
simd.cpp:            ^
simd.cpp: /usr/lib/llvm-14/lib/clang/14.0.0/include/avx2intrin.h:746:13: note: expanded from macro '_mm_blend_epi32'
simd.cpp: ...

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

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:       |             ^~~~
simd.cpp: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
simd.cpp:                  from /usr/lib/gcc/x86_64-linux-gnu/11/include/x86intrin.h:32,
simd.cpp:                  from simd.cpp:16:
simd.cpp: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h: In function 'void triad_high_speed_encryption(unsigned char*, const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*)':
simd.cpp: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h:1037:1: error: inlining failed in call to 'always_inline' '__m128i _mm_broadcastq_epi64(__m128i)': target specific option mismatch
simd.cpp:  1037 | _mm_broadcastq_epi64 (__m128i __X)
simd.cpp:       | ^~~~~~~~~~~~~~~~~~~~
simd.cpp: simd.cpp:237:32: note: called from here
simd.cpp:   237 |   inR[0] = _mm_broadcastq_epi64(in[0]);
simd.cpp:       |            ~~~~~~~~~~~~~~~~~~~~^~~~~~~
simd.cpp: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
simd.cpp:                  from /usr/lib/gcc/x86_64-linux-gnu/11/include/x86intrin.h:32,
simd.cpp:                  from simd.cpp:16:
simd.cpp: /usr/lib/gcc/x86_64-linux-gnu/11/include/avx2intrin.h:1037:1: error: inlining failed in call to 'always_inline' '__m128i _mm_broadcastq_epi64(__m128i)': target specific option mismatch
simd.cpp:  1037 | _mm_broadcastq_epi64 (__m128i __X)
simd.cpp:       | ^~~~~~~~~~~~~~~~~~~~
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 (11.4.0)
T:add_sseg++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:add_sseg++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:add_sseg++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall

Compiler output


encrypt.c: encrypt.c:86:16: warning: variable 'd' set but not used [-Wunused-but-set-variable]
encrypt.c:         unsigned char d, c1[8], c2[8], c3[8], c4[8];
encrypt.c:                       ^
encrypt.c: encrypt.c:153:16: warning: variable 'd' set but not used [-Wunused-but-set-variable]
encrypt.c:         unsigned char d, c1[8], c2[8], c3[8], c4[8];
encrypt.c:                       ^
encrypt.c: encrypt.c:342:32: warning: variable 'kstem' set but not used [-Wunused-but-set-variable]
encrypt.c:         unsigned char ks[64], mac[8], kstem = 0;
encrypt.c:                                       ^
encrypt.c: encrypt.c:393:32: warning: variable 'kstem' set but not used [-Wunused-but-set-variable]
encrypt.c:         unsigned char ks[64], tag[8], kstem = 0,check = 0;
encrypt.c:                                       ^
encrypt.c: 4 warnings generated.

Number of similar (implementation,compiler) pairs: 5, namely:
ImplementationCompiler
T:refclang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)

Compiler output


encrypt.c: encrypt.c: In function 'Initialization':
encrypt.c: encrypt.c:86:23: 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:23: 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:39: 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:39: 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 (11.4.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

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 (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refclang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Ubuntu_Clang_14.0.0)
T:refgcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:refgcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)