Test results for amd64, alder, crypto_stream/speck128128ctr
[Page version: 20241022 22:35:40]
Measurements for amd64, alder, crypto_stream
Test results for amd64, alder, crypto_stream
Test results for crypto_stream/speck128128ctr
Computer: alder
Microarchitecture: amd64; Golden Cove (90675-00)
Architecture: amd64
CPU ID: GenuineIntel-00090675-00-bfebfbff
SUPERCOP version: 20241022
Operation: crypto_stream
Primitive: speck128128ctr
Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
2029 | 34875 0 0 | 46451 756 984 | T:avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240716 | 20240716 |
2052 | 34043 0 0 | 48528 812 984 | T:avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240716 | 20240716 |
2052 | 33110 0 0 | 45158 804 952 | T:avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240716 | 20240716 |
2056 | 34075 0 0 | 48720 812 984 | T:avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240716 | 20240716 |
2059 | 33596 0 0 | 45910 804 952 | T:avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240716 | 20240716 |
2094 | 34968 0 0 | 47703 772 1016 | T:avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240716 | 20240716 |
2098 | 35045 0 0 | 48160 780 1016 | T:avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240716 | 20240716 |
2105 | 35771 0 0 | 50928 780 1016 | T:avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240716 | 20240716 |
3958 | 27865 0 0 | 40591 772 1016 | T:sse4 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240716 | 20240716 |
3988 | 27396 0 0 | 41968 812 984 | T:sse4 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240716 | 20240716 |
3998 | 27396 0 0 | 42112 812 984 | T:sse4 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240716 | 20240716 |
4012 | 26662 0 0 | 39086 804 952 | T:sse4 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240716 | 20240716 |
4023 | 26525 0 0 | 38670 804 952 | T:sse4 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20240716 | 20240716 |
5929 | 15114 0 0 | 28232 780 1016 | T:sse4 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240716 | 20240716 |
5933 | 14615 0 0 | 26179 756 984 | T:sse4 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240716 | 20240716 |
5938 | 16018 0 0 | 31184 780 1016 | T:sse4 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20240716 | 20240716 |
Compiler output
stream.c: stream.c:288:3: error: always_inline function '_mm256_set_epi64x' requires target feature 'avx', but would be inlined into function 'ExpandKey' that is compiled without support for 'avx'
stream.c: EK(A,B,rk,key);
stream.c: ^
stream.c: ./Speck128128AVX2.h:54:24: note: expanded from macro 'EK'
stream.c: #define EK(A,B,k,key) (RK(B,A,k,key,0), RK(B,A,k,key,1), RK(B,A,k,key,2), RK(B,A,k,key,3), RK(B,A,k,key,4), RK(B,A,k,key,5), RK(B,A,k,key,6), \
stream.c: ^
stream.c: ./Speck128128AVX2.h:52:28: note: expanded from macro 'RK'
stream.c: #define RK(X,Y,k,key,i) (SET1(k[i],Y), key[i]=Y, X=RCS(X,8), X+=Y, X^=i, Y=LCS(Y,3), Y^=X)
stream.c: ^
stream.c: ./Intrinsics_AVX2_128block.h:25:22: note: expanded from macro 'SET1'
stream.c: #define SET1(X,c) (X=SET(c,c,c,c))
stream.c: ^
stream.c: ./Intrinsics_AVX2_128block.h:24:13: note: expanded from macro 'SET'
stream.c: #define SET _mm256_set_epi64x
stream.c: ^
stream.c: stream.c:288:3: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
stream.c: ./Speck128128AVX2.h:54:24: note: expanded from macro 'EK'
stream.c: #define EK(A,B,k,key) (RK(B,A,k,key,0), RK(B,A,k,key,1), RK(B,A,k,key,2), RK(B,A,k,key,3), RK(B,A,k,key,4), RK(B,A,k,key,5), RK(B,A,k,key,6), \
stream.c: ^
stream.c: ./Speck128128AVX2.h:52:28: note: expanded from macro 'RK'
stream.c: #define RK(X,Y,k,key,i) (SET1(k[i],Y), key[i]=Y, X=RCS(X,8), X+=Y, X^=i, Y=LCS(Y,3), Y^=X)
stream.c: ^
stream.c: ./Intrinsics_AVX2_128block.h:25:22: note: expanded from macro 'SET1'
stream.c: #define SET1(X,c) (X=SET(c,c,c,c))
stream.c: ^
stream.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:avx2 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
stream.c: stream.c:260:8: warning: unused variable 'i' [-Wunused-variable]
stream.c: u64 i,j,x[2],y[2];
stream.c: ^
stream.c: stream.c:260:10: warning: unused variable 'j' [-Wunused-variable]
stream.c: u64 i,j,x[2],y[2];
stream.c: ^
stream.c: stream.c:329:3: error: always_inline function '_mm512_set_epi64' requires target feature 'avx512f', but would be inlined into function 'ExpandKey' that is compiled without support for 'avx512f'
stream.c: EK(A,B,rk,key);
stream.c: ^
stream.c: ./Speck128128AVX512.h:59:24: note: expanded from macro 'EK'
stream.c: #define EK(A,B,k,key) (RK(B,A,k,key,0), RK(B,A,k,key,1), RK(B,A,k,key,2), RK(B,A,k,key,3), RK(B,A,k,key,4), RK(B,A,k,key,5), RK(B,A,k,key,6), \
stream.c: ^
stream.c: ./Speck128128AVX512.h:57:26: note: expanded from macro 'RK'
stream.c: #define RK(X,Y,k,key,i) (SET1(k[i],Y), key[i]=Y, X=RCS(X,8), X+=Y, X^=i, Y=LCS(Y,3), Y^=X)
stream.c: ^
stream.c: ./Intrinsics_AVX512_128block.h:25:22: note: expanded from macro 'SET1'
stream.c: #define SET1(X,c) (X=SET(c,c,c,c,c,c,c,c))
stream.c: ^
stream.c: ./Intrinsics_AVX512_128block.h:16:13: note: expanded from macro 'SET'
stream.c: #define SET _mm512_set_epi64
stream.c: ^
stream.c: stream.c:329:3: error: AVX vector return of type '__m512i' (vector of 8 'long long' values) without 'avx512f' enabled changes the ABI
stream.c: ./Speck128128AVX512.h:59:24: note: expanded from macro 'EK'
stream.c: #define EK(A,B,k,key) (RK(B,A,k,key,0), RK(B,A,k,key,1), RK(B,A,k,key,2), RK(B,A,k,key,3), RK(B,A,k,key,4), RK(B,A,k,key,5), RK(B,A,k,key,6), \
stream.c: ^
stream.c: ...
Number of similar (implementation,compiler) pairs: 2, namely:
Implementation | Compiler |
T:avx512 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:avx512 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
stream.c: stream.c:260:10: warning: unused variable 'j' [-Wunused-variable]
stream.c: u64 i,j,x[2],y[2];
stream.c: ^
stream.c: stream.c:260:8: warning: unused variable 'i' [-Wunused-variable]
stream.c: u64 i,j,x[2],y[2];
stream.c: ^
stream.c: stream.c:329:3: error: always_inline function '_mm512_set_epi64' requires target feature 'avx512f', but would be inlined into function 'ExpandKey' that is compiled without support for 'avx512f'
stream.c: EK(A,B,rk,key);
stream.c: ^
stream.c: ./Speck128128AVX512.h:59:24: note: expanded from macro 'EK'
stream.c: #define EK(A,B,k,key) (RK(B,A,k,key,0), RK(B,A,k,key,1), RK(B,A,k,key,2), RK(B,A,k,key,3), RK(B,A,k,key,4), RK(B,A,k,key,5), RK(B,A,k,key,6), \
stream.c: ^
stream.c: ./Speck128128AVX512.h:57:26: note: expanded from macro 'RK'
stream.c: #define RK(X,Y,k,key,i) (SET1(k[i],Y), key[i]=Y, X=RCS(X,8), X+=Y, X^=i, Y=LCS(Y,3), Y^=X)
stream.c: ^
stream.c: ./Intrinsics_AVX512_128block.h:25:22: note: expanded from macro 'SET1'
stream.c: #define SET1(X,c) (X=SET(c,c,c,c,c,c,c,c))
stream.c: ^
stream.c: ./Intrinsics_AVX512_128block.h:16:13: note: expanded from macro 'SET'
stream.c: #define SET _mm512_set_epi64
stream.c: ^
stream.c: stream.c:329:3: error: AVX vector return of type '__m512i' (vector of 8 'long long' values) without 'avx512f' enabled changes the ABI
stream.c: ./Speck128128AVX512.h:59:24: note: expanded from macro 'EK'
stream.c: #define EK(A,B,k,key) (RK(B,A,k,key,0), RK(B,A,k,key,1), RK(B,A,k,key,2), RK(B,A,k,key,3), RK(B,A,k,key,4), RK(B,A,k,key,5), RK(B,A,k,key,6), \
stream.c: ^
stream.c: ...
Number of similar (implementation,compiler) pairs: 3, namely:
Implementation | Compiler |
T:avx512 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:avx512 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:avx512 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Compiler output
stream.c: stream.c: In function 'Encrypt_Xor':
stream.c: stream.c:260:10: warning: unused variable 'j' [-Wunused-variable]
stream.c: 260 | u64 i,j,x[2],y[2];
stream.c: | ^
stream.c: stream.c:260:8: warning: unused variable 'i' [-Wunused-variable]
stream.c: 260 | u64 i,j,x[2],y[2];
stream.c: | ^
stream.c: In file included from Speck128128AVX512.h:17,
stream.c: from stream.c:21:
stream.c: stream.c: In function 'Encrypt':
stream.c: Intrinsics_AVX512_128block.h:25:21: warning: AVX512F vector return without AVX512F enabled changes the ABI [-Wpsabi]
stream.c: 25 | #define SET1(X,c) (X=SET(c,c,c,c,c,c,c,c))
stream.c: | ~~^~~~~~~~~~~~~~~~~~~~~~
stream.c: stream.c:135:5: note: in expansion of macro 'SET1'
stream.c: 135 | SET1(X[0],nonce[1]); SET8(Y[0],nonce[0]);
stream.c: | ^~~~
stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/10/include/immintrin.h:55,
stream.c: from Intrinsics_AVX512_128block.h:5,
stream.c: from Speck128128AVX512.h:17,
stream.c: from stream.c:21:
stream.c: /usr/lib/gcc/x86_64-linux-gnu/10/include/avx512fintrin.h:6429:1: error: inlining failed in call to 'always_inline' '_mm512_storeu_si512': target specific option mismatch
stream.c: 6429 | _mm512_storeu_si512 (void *__P, __m512i __A)
stream.c: | ^~~~~~~~~~~~~~~~~~~
stream.c: In file included from Speck128128AVX512.h:17,
stream.c: from stream.c:21:
stream.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
Implementation | Compiler |
T:avx512 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:avx512 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:avx512 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:avx512 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
Compiler output
stream.c: stream.c:114:21: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'Encrypt' that is compiled without support for 'ssse3'
stream.c: if (numbytes==32) Enc(X,Y,rk,2);
stream.c: ^
stream.c: ./Speck128128SSE4.h:42:23: note: expanded from macro 'Enc'
stream.c: #define Enc(X,Y,k,n) (Rx##n(X,Y,k[0]), Rx##n(X,Y,k[1]), Rx##n(X,Y,k[2]), Rx##n(X,Y,k[3]), Rx##n(X,Y,k[4]), Rx##n(X,Y,k[5]), Rx##n(X,Y,k[6]), Rx##n(X,Y,k[7]), \
stream.c: ^
stream.c: <scratch space>:86:1: note: expanded from here
stream.c: Rx2
stream.c: ^
stream.c: ./Speck128128SSE4.h:25:21: note: expanded from macro 'Rx2'
stream.c: #define Rx2(X,Y,k) (R(X[0],Y[0],k))
stream.c: ^
stream.c: ./Speck128128SSE4.h:23:29: note: expanded from macro 'R'
stream.c: #define R(X,Y,k) (X=XOR(ADD(ROR8(X),Y),k), Y=XOR(ROL(Y,3),X))
stream.c: ^
stream.c: ./Intrinsics_SSE4_128block.h:41:19: note: expanded from macro 'ROR8'
stream.c: #define ROR8(X) (SHFL(X,R8))
stream.c: ^
stream.c: ./Intrinsics_SSE4_128block.h:37:14: note: expanded from macro 'SHFL'
stream.c: #define SHFL _mm_shuffle_epi8
stream.c: ^
stream.c: stream.c:114:21: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'Encrypt' that is compiled without support for 'ssse3'
stream.c: ./Speck128128SSE4.h:42:41: note: expanded from macro 'Enc'
stream.c: #define Enc(X,Y,k,n) (Rx##n(X,Y,k[0]), Rx##n(X,Y,k[1]), Rx##n(X,Y,k[2]), Rx##n(X,Y,k[3]), Rx##n(X,Y,k[4]), Rx##n(X,Y,k[5]), Rx##n(X,Y,k[6]), Rx##n(X,Y,k[7]), \
stream.c: ^
stream.c: ...
Number of similar (implementation,compiler) pairs: 1, namely:
Implementation | Compiler |
T:sse4 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
Namespace violations
stream.o ExpandKey T
Number of similar (implementation,compiler) pairs: 8, namely:
Implementation | Compiler |
T:avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
Namespace violations
stream.o Encrypt T
stream.o Encrypt_Xor T
stream.o ExpandKey T
Number of similar (implementation,compiler) pairs: 8, namely:
Implementation | Compiler |
T:sse4 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:sse4 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:sse4 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:sse4 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_11.0.1) |
T:sse4 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:sse4 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:sse4 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |
T:sse4 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (10.2.1_20210110) |