Test results for amd64, phoenix, crypto_stream/speck128128ctr

[Page version: 20250816 20:11:49]

Measurements for amd64, phoenix, crypto_stream Test results for amd64, phoenix, crypto_stream Test results for crypto_stream/speck128128ctr
Computer: phoenix
Microarchitecture: amd64; Zen 4 (a70f41)
Architecture: amd64
CPU ID: AuthenticAMD-00a70f41-178bfbff
SUPERCOP version: 20250415
Operation: crypto_stream
Primitive: speck128128ctr
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
140438354 0 053548 780 1128T:avx512gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
140935808 0 048883 772 1032T:avx512gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
142137357 0 050700 780 1128T:avx512gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
147637862 0 049511 756 1000T:avx512gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
160039755 0 052803 772 1032T:avx2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
160439726 0 054876 780 1128T:avx2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
160738668 0 052012 780 1128T:avx2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
166640781 0 052407 756 1000T:avx2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
208836044 0 048701 820 968T:avx512clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
215436337 0 050046 812 1032T:avx512clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
216037880 0 055100 820 1032T:avx512clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
221937656 0 054828 820 1032T:avx512clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
265130368 0 043958 812 1032T:avx2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
266622854 0 036550 812 1032T:sse4clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
266831623 0 048732 820 1032T:avx2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
267124185 0 041412 820 1032T:sse4clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
267231847 0 049004 820 1032T:avx2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
267924185 0 041460 820 1032T:sse4clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
271530284 0 042813 820 968T:avx2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
272523142 0 035741 820 968T:sse4clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
300830160 0 043211 772 1032T:sse4gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
555616702 0 030052 780 1128T:sse4gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
565315253 0 026871 756 1000T:sse4gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081420250415
582317676 0 032836 780 1128T:sse4gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025081420250415

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:   288 |   EK(A,B,rk,key);
stream.c:       |   ^
stream.c: ./Speck128128AVX2.h:54:24: note: expanded from macro 'EK'
stream.c:    54 | #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:    52 | #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:    25 | #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:    24 | #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:    54 | #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:    52 | #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:    25 | #define SET1(X,c) (X=SET(c,c,c,c))
stream.c:       |                      ^
stream.c: ...

Number of similar (implementation,compiler) pairs: 1, namely:
ImplementationCompiler
T:avx2clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))

Compiler output


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: stream.c:260:10: warning: unused variable 'j' [-Wunused-variable]
stream.c:   260 |   u64  i,j,x[2],y[2];
stream.c:       |          ^
stream.c: 2 warnings generated.

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:avx512clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:avx512clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:avx512clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:avx512clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))

Compiler output


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: 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: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:   329 |   EK(A,B,rk,key);
stream.c:       |   ^
stream.c: ./Speck128128AVX512.h:59:24: note: expanded from macro 'EK'
stream.c:    59 | #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:    57 | #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:    25 | #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:    16 | #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:    59 | #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: 1, namely:
ImplementationCompiler
T:avx512clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))

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:       |        ^

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
T:avx512gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:avx512gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:avx512gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:avx512gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

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:   114 |   if (numbytes==32) Enc(X,Y,rk,2);
stream.c:       |                     ^
stream.c: ./Speck128128SSE4.h:42:23: note: expanded from macro 'Enc'
stream.c:    42 | #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>:122:1: note: expanded from here
stream.c:   122 | Rx2
stream.c:       | ^
stream.c: ./Speck128128SSE4.h:25:21: note: expanded from macro 'Rx2'
stream.c:    25 | #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:    23 | #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:    41 | #define ROR8(X)  (SHFL(X,R8))
stream.c:       |                   ^
stream.c: ./Intrinsics_SSE4_128block.h:37:14: note: expanded from macro 'SHFL'
stream.c:    37 | #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:    42 | #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:
ImplementationCompiler
T:sse4clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))

Compiler output


stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/14/include/pmmintrin.h:31,
stream.c:                  from /usr/lib/gcc/x86_64-linux-gnu/14/include/tmmintrin.h:31,
stream.c:                  from /usr/lib/gcc/x86_64-linux-gnu/14/include/smmintrin.h:32,
stream.c:                  from Intrinsics_SSE4_128block.h:5,
stream.c:                  from Speck128128SSE4.h:17,
stream.c:                  from stream.c:20:
stream.c: In function '_mm_unpackhi_epi64',
stream.c:     inlined from 'Encrypt_Xor' at stream.c:245:22:
stream.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/emmintrin.h:1030:19: warning: 'X[2]' may be used uninitialized [-Wmaybe-uninitialized]
stream.c:  1030 |   return (__m128i)__builtin_ia32_punpckhqdq128 ((__v2di)__A, (__v2di)__B);
stream.c:       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.c: stream.c: In function 'Encrypt_Xor':
stream.c: stream.c:215:8: note: 'X[2]' was declared here
stream.c:   215 |   u128 X[4],Y[4],Z[4];
stream.c:       |        ^
stream.c: In function '_mm_unpackhi_epi64',
stream.c:     inlined from 'Encrypt_Xor' at stream.c:245:22:
stream.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/emmintrin.h:1030:19: warning: 'Y[2]' may be used uninitialized [-Wmaybe-uninitialized]
stream.c:  1030 |   return (__m128i)__builtin_ia32_punpckhqdq128 ((__v2di)__A, (__v2di)__B);
stream.c:       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.c: stream.c: In function 'Encrypt_Xor':
stream.c: stream.c:215:13: note: 'Y[2]' was declared here
stream.c:   215 |   u128 X[4],Y[4],Z[4];
stream.c:       |             ^

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:sse4gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:sse4gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Compiler output


stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/14/include/pmmintrin.h:31,
stream.c:                  from /usr/lib/gcc/x86_64-linux-gnu/14/include/tmmintrin.h:31,
stream.c:                  from /usr/lib/gcc/x86_64-linux-gnu/14/include/smmintrin.h:32,
stream.c:                  from Intrinsics_SSE4_128block.h:5,
stream.c:                  from Speck128128SSE4.h:17,
stream.c:                  from stream.c:20:
stream.c: In function '_mm_unpackhi_epi64',
stream.c:     inlined from 'Encrypt' at stream.c:132:22:
stream.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/emmintrin.h:1030:19: warning: 'X[2]' may be used uninitialized [-Wmaybe-uninitialized]
stream.c:  1030 |   return (__m128i)__builtin_ia32_punpckhqdq128 ((__v2di)__A, (__v2di)__B);
stream.c:       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.c: stream.c: In function 'Encrypt':
stream.c: stream.c:102:8: note: 'X[2]' was declared here
stream.c:   102 |   u128 X[4],Y[4],Z[4];
stream.c:       |        ^
stream.c: In function '_mm_unpackhi_epi64',
stream.c:     inlined from 'Encrypt' at stream.c:132:22:
stream.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/emmintrin.h:1030:19: warning: 'Y[2]' may be used uninitialized [-Wmaybe-uninitialized]
stream.c:  1030 |   return (__m128i)__builtin_ia32_punpckhqdq128 ((__v2di)__A, (__v2di)__B);
stream.c:       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.c: stream.c: In function 'Encrypt':
stream.c: stream.c:102:13: note: 'Y[2]' was declared here
stream.c:   102 |   u128 X[4],Y[4],Z[4];
stream.c:       |             ^
stream.c: In function '_mm_unpackhi_epi64',
stream.c: ...

Number of similar (implementation,compiler) pairs: 2, namely:
ImplementationCompiler
T:sse4gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:sse4gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Namespace violations


stream.o ExpandKey T

Number of similar (implementation,compiler) pairs: 16, namely:
ImplementationCompiler
T:avx2clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:avx2clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:avx2clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:avx2clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:avx2gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:avx2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:avx2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:avx2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:avx512clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:avx512clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:avx512clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:avx512clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:avx512gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:avx512gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:avx512gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:avx512gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)

Namespace violations


stream.o Encrypt T
stream.o Encrypt_Xor T
stream.o ExpandKey T

Number of similar (implementation,compiler) pairs: 8, namely:
ImplementationCompiler
T:sse4clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:sse4clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:sse4clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:sse4clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1))
T:sse4gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:sse4gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:sse4gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)
T:sse4gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0)