Test results for amd64, trident, crypto_aead/triadaev1
[Page version: 20241027 17:25:10]
Measurements for amd64, trident, crypto_aead
Test results for amd64, trident, crypto_aead
Test results for crypto_aead/triadaev1
Computer: trident
Microarchitecture: amd64; Core 2 65nm (6fb)
Architecture: amd64
CPU ID: GenuineIntel-000006fb-bfebfbff
SUPERCOP version: 20241022
Operation: crypto_aead
Primitive: triadaev1
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
10579012 | 9888 0 0 | 25554 788 1080 | T:ref | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240702 | 20240625 |
10720671 | 7912 0 0 | 22570 788 1080 | T:ref | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240702 | 20240625 |
24664944 | 21131 0 0 | 37528 812 1016 | T:ref | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240702 | 20240625 |
25014951 | 14203 0 0 | 29640 812 1016 | T:ref | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240702 | 20240625 |
25460214 | 21387 0 0 | 37912 812 1016 | T:ref | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240702 | 20240625 |
33630872 | 5152 0 0 | 18189 764 1048 | T:ref | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240702 | 20240625 |
47015892 | 6647 0 0 | 20654 804 1016 | T:ref | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240702 | 20240625 |
47183557 | 7402 0 0 | 20862 804 1016 | T:ref | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240702 | 20240625 |
47465050 | 5419 0 0 | 19591 772 1080 | T:ref | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240702 | 20240625 |
Compiler output
simd.cpp: simd.cpp:105:14: error: always_inline function '_mm_blendv_epi8' requires target feature 'sse4.1', but would be inlined into function 'triad_update_56x_encryption' that is compiled without support for 'sse4.1'
simd.cpp: out[2] = _mm_blendv_epi8(out[2], newc, BlendMask);
simd.cpp: ^
simd.cpp: simd.cpp:126:14: error: always_inline function '_mm_blendv_epi8' requires target feature 'sse4.1', but would be inlined into function 'triad_update_56x_encryption' that is compiled without support for 'sse4.1'
simd.cpp: out[0] = _mm_blendv_epi8(out[0], newa, BlendMask);
simd.cpp: ^
simd.cpp: simd.cpp:142:14: error: always_inline function '_mm_blendv_epi8' requires target feature 'sse4.1', but would be inlined into function 'triad_update_56x_encryption' that is compiled without support for 'sse4.1'
simd.cpp: out[1] = _mm_blendv_epi8(out[1], newb, BlendMask);
simd.cpp: ^
simd.cpp: 3 errors generated.
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:add_avx | clang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:add_avx | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:add_avx | clang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall |
T:add_avx | clang++ -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
simd.cpp: simd.cpp: 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: simd.cpp:400:11: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
simd.cpp: 400 | in[2] = _mm256_load_si256((const __m256i *)(tmp0));
simd.cpp: | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
simd.cpp: simd.cpp: At global scope:
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/10/include/immintrin.h:53,
simd.cpp: from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
simd.cpp: from simd.cpp:16:
simd.cpp: /usr/lib/gcc/x86_64-linux-gnu/10/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/10/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/10/include/immintrin.h:53,
simd.cpp: from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
simd.cpp: from simd.cpp:16:
simd.cpp: /usr/lib/gcc/x86_64-linux-gnu/10/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: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:add_avx | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:add_avx | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:add_avx | g++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:add_avx | g++ -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
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-11/lib/clang/11.0.1/include/avx2intrin.h:746:12: 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-11/lib/clang/11.0.1/include/avx2intrin.h:746:12: 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-11/lib/clang/11.0.1/include/avx2intrin.h:746:12: note: expanded from macro '_mm_blend_epi32'
simd.cpp: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:add_sse | clang++ -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:add_sse | clang++ -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:add_sse | clang++ -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall |
T:add_sse | clang++ -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: | ^~~~
simd.cpp: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:53,
simd.cpp: from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
simd.cpp: from simd.cpp:16:
simd.cpp: /usr/lib/gcc/x86_64-linux-gnu/10/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/10/include/avx2intrin.h:1034:1: error: inlining failed in call to 'always_inline' '__m128i _mm_broadcastq_epi64(__m128i)': target specific option mismatch
simd.cpp: 1034 | _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/10/include/immintrin.h:53,
simd.cpp: from /usr/lib/gcc/x86_64-linux-gnu/10/include/x86intrin.h:32,
simd.cpp: from simd.cpp:16:
simd.cpp: /usr/lib/gcc/x86_64-linux-gnu/10/include/avx2intrin.h:1034:1: error: inlining failed in call to 'always_inline' '__m128i _mm_broadcastq_epi64(__m128i)': target specific option mismatch
simd.cpp: 1034 | _mm_broadcastq_epi64 (__m128i __X)
simd.cpp: | ^~~~~~~~~~~~~~~~~~~~
simd.cpp: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:add_sse | g++ -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:add_sse | g++ -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:add_sse | g++ -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:add_sse | g++ -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:
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) |