Test results for amd64, h9ivy, crypto_stream/simon64128ctr

[Page version: 20250926 22:04:25]

Measurements for amd64, h9ivy, crypto_stream Test results for amd64, h9ivy, crypto_stream Test results for crypto_stream/simon64128ctr
Computer: h9ivy
Microarchitecture: amd64; Ivy Bridge+AES (306a9)
Architecture: amd64
CPU ID: GenuineIntel-000306a9-bfebfbff
SUPERCOP version: 20250922
Operation: crypto_stream
Primitive: simon64128ctr
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
622399554 0 0114068 780 1032T:sse4gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025082620250415
639085322 0 0101773 820 968T:sse4clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025082620250415
641584698 0 0101645 820 968T:sse4clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025082620250415
947297741 0 0110908 780 1032T:sse4gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025082620250415
1009883353 0 095710 812 968T:sse4clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025082620250415
1025487878 0 0100309 820 968T:sse4clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall2025082620250415
1036594980 0 0106535 756 1000T:sse4gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025082620250415
1053696456 0 0109507 772 1032T:sse4gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall2025082620250415

Compiler output


stream.c: stream.c:147:24: error: always_inline function '_mm256_add_epi32' requires target feature 'avx2', but would be inlined into function 'Encrypt' that is compiled without support for 'avx2'
stream.c:   147 |   SET1(X[0],nonce[1]); SET8(Y[0],nonce[0]);
stream.c:       |                        ^
stream.c: ./Intrinsics_AVX2_64block.h:25:46: note: expanded from macro 'SET8'
stream.c:    25 | #define SET8(X,c) (X=SET(c,c,c,c,c,c,c,c), X=ADD(X,_q))
stream.c:       |                                              ^
stream.c: ./Intrinsics_AVX2_64block.h:16:13: note: expanded from macro 'ADD'
stream.c:    16 | #define ADD _mm256_add_epi32
stream.c:       |             ^
stream.c: stream.c:149:21: error: always_inline function '_mm256_slli_epi32' requires target feature 'avx2', but would be inlined into function 'Encrypt' that is compiled without support for 'avx2'
stream.c:   149 |   if (numbytes==64) Enc(X,Y,rk,8);
stream.c:       |                     ^
stream.c: ./Simon64128AVX2.h:43:24: note: expanded from macro 'Enc'
stream.c:    43 | #define Enc(X,Y,rk,n) (R2x##n(X,Y,rk,0,1),   R2x##n(X,Y,rk,2,3),   R2x##n(X,Y,rk,4,5),   R2x##n(X,Y,rk,6,7),   R2x##n(X,Y,rk,8,9), \
stream.c:       |                        ^
stream.c: <scratch space>:252:1: note: expanded from here
stream.c:   252 | R2x8
stream.c:       | ^
stream.c: ./Simon64128AVX2.h:30:28: note: expanded from macro 'R2x8'
stream.c:    30 | #define R2x8(X,Y,rk,r,s)  (Sx8(X,Y,rk[r][0]),  Sx8(Y,X,rk[s][0]))
stream.c:       |                            ^
stream.c: note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
stream.c: ./Simon64128AVX2.h:23:28: note: expanded from macro 'RD'
stream.c:    23 | #define RD(U,V,k) (V=XOR(V,ROL(U,2)), V=XOR(V,AND(ROL(U,1),ROL8(U))), V=XOR(V,k))
stream.c:       |                            ^
stream.c: ...

Number of similar (implementation,compiler) pairs: 4, 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))

Compiler output


stream.c: stream.c:147:3: error: always_inline function '_mm256_set_epi32' requires target feature 'avx', but would be inlined into function 'Encrypt' that is compiled without support for 'avx'
stream.c:   147 |   SET1(X[0],nonce[1]); SET8(Y[0],nonce[0]);
stream.c:       |   ^
stream.c: ./Intrinsics_AVX2_64block.h:24:22: note: expanded from macro 'SET1'
stream.c:    24 | #define SET1(X,c) (X=SET(c,c,c,c,c,c,c,c))
stream.c:       |                      ^
stream.c: ./Intrinsics_AVX2_64block.h:23:13: note: expanded from macro 'SET'
stream.c:    23 | #define SET _mm256_set_epi32
stream.c:       |             ^
stream.c: stream.c:147:3: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
stream.c: ./Intrinsics_AVX2_64block.h:24:22: note: expanded from macro 'SET1'
stream.c:    24 | #define SET1(X,c) (X=SET(c,c,c,c,c,c,c,c))
stream.c:       |                      ^
stream.c: ./Intrinsics_AVX2_64block.h:23:13: note: expanded from macro 'SET'
stream.c:    23 | #define SET _mm256_set_epi32
stream.c:       |             ^
stream.c: stream.c:147:24: error: always_inline function '_mm256_set_epi32' requires target feature 'avx', but would be inlined into function 'Encrypt' that is compiled without support for 'avx'
stream.c:   147 |   SET1(X[0],nonce[1]); SET8(Y[0],nonce[0]);
stream.c:       |                        ^
stream.c: ./Intrinsics_AVX2_64block.h:25:22: note: expanded from macro 'SET8'
stream.c:    25 | #define SET8(X,c) (X=SET(c,c,c,c,c,c,c,c), X=ADD(X,_q))
stream.c:       |                      ^
stream.c: ./Intrinsics_AVX2_64block.h:23:13: note: expanded from macro 'SET'
stream.c:    23 | #define SET _mm256_set_epi32
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: In file included from /usr/lib/gcc/x86_64-linux-gnu/14/include/immintrin.h:53,
stream.c:                  from Intrinsics_AVX2_64block.h:5,
stream.c:                  from Simon64128AVX2.h:17,
stream.c:                  from stream.c:20:
stream.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/avx2intrin.h: In function 'Transpose':
stream.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/avx2intrin.h:913:1: error: inlining failed in call to 'always_inline' '_mm256_xor_si256': target specific option mismatch
stream.c:   913 | _mm256_xor_si256 (__m256i __A, __m256i __B)
stream.c:       | ^~~~~~~~~~~~~~~~
stream.c: Intrinsics_AVX2_64block.h:14:13: note: called from here
stream.c:    14 | #define XOR _mm256_xor_si256
stream.c: stream.c:460:10: note: in expansion of macro 'XOR'
stream.c:   460 |   M[6] = XOR(M[6], W[3]);
stream.c:       |          ^~~
stream.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/avx2intrin.h:682:1: error: inlining failed in call to 'always_inline' '_mm256_slli_epi32': target specific option mismatch
stream.c:   682 | _mm256_slli_epi32 (__m256i __A, int __B)
stream.c:       | ^~~~~~~~~~~~~~~~~
stream.c: Intrinsics_AVX2_64block.h:17:13: note: called from here
stream.c:    17 | #define SL  _mm256_slli_epi32
stream.c: stream.c:459:10: note: in expansion of macro 'SL'
stream.c:   459 |   W[3] = SL(W[3],1);
stream.c:       |          ^~
stream.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/avx2intrin.h:913:1: error: inlining failed in call to 'always_inline' '_mm256_xor_si256': target specific option mismatch
stream.c:   913 | _mm256_xor_si256 (__m256i __A, __m256i __B)
stream.c:       | ^~~~~~~~~~~~~~~~
stream.c: Intrinsics_AVX2_64block.h:14:13: note: called from here
stream.c: ...

Number of similar (implementation,compiler) pairs: 4, namely:
ImplementationCompiler
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)

Compiler output


stream.c: stream.c:340:3: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'ExpandKeyBS' that is compiled without support for 'ssse3'
stream.c:   340 |   EKBS(rk);
stream.c:       |   ^
stream.c: ./Simon64128SSE4.h:64:19: note: expanded from macro 'EKBS'
stream.c:    64 | #define EKBS(rk) (RKBS(rk,4,_D),  RKBS(rk,5,_D),  RKBS(rk,6,_C),  RKBS(rk,7,_D),  RKBS(rk,8,_D),  RKBS(rk,9,_C),  RKBS(rk,10,_D), RKBS(rk,11,_D), \
stream.c:       |                   ^
stream.c: ./Simon64128SSE4.h:53:52: note: expanded from macro 'RKBS'
stream.c:    53 | #define RKBS(rk,r,_V) (rk[r][7]= _D ^ rk[r-4][7] ^ ROR8(rk[r-1][2])  ^ rk[r-3][7] ^ ROR8(rk[r-1][3])  ^ ROR8(rk[r-3][0]), \
stream.c:       |                                                    ^
stream.c: ./Intrinsics_SSE4_64block.h:39:19: note: expanded from macro 'ROR8'
stream.c:    39 | #define ROR8(X)  (SHFL(X,R8))
stream.c:       |                   ^
stream.c: ./Intrinsics_SSE4_64block.h:34:14: note: expanded from macro 'SHFL'
stream.c:    34 | #define SHFL _mm_shuffle_epi8
stream.c:       |              ^
stream.c: stream.c:340:3: error: always_inline function '_mm_shuffle_epi8' requires target feature 'ssse3', but would be inlined into function 'ExpandKeyBS' that is compiled without support for 'ssse3'
stream.c: ./Simon64128SSE4.h:64:19: note: expanded from macro 'EKBS'
stream.c:    64 | #define EKBS(rk) (RKBS(rk,4,_D),  RKBS(rk,5,_D),  RKBS(rk,6,_C),  RKBS(rk,7,_D),  RKBS(rk,8,_D),  RKBS(rk,9,_C),  RKBS(rk,10,_D), RKBS(rk,11,_D), \
stream.c:       |                   ^
stream.c: ./Simon64128SSE4.h:53:85: note: expanded from macro 'RKBS'
stream.c:    53 | #define RKBS(rk,r,_V) (rk[r][7]= _D ^ rk[r-4][7] ^ ROR8(rk[r-1][2])  ^ rk[r-3][7] ^ ROR8(rk[r-1][3])  ^ ROR8(rk[r-3][0]), \
stream.c:       |                                                                                     ^
stream.c: ./Intrinsics_SSE4_64block.h:39:19: note: expanded from macro 'ROR8'
stream.c:    39 | #define ROR8(X)  (SHFL(X,R8))
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))

Namespace violations


stream.o ExpandKeyBS T
stream.o ExpandKeyNBS 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)