Test results for amd64, h4atom, crypto_stream/simon128128ctr
[Page version: 20251115 13:22:58]
Measurements for amd64, h4atom, crypto_stream
Test results for amd64, h4atom, crypto_stream
Test results for crypto_stream/simon128128ctr
Computer: h4atom
Microarchitecture: amd64; Bonnell (106ca)
Architecture: amd64
CPU ID: GenuineIntel-000106ca-bfe9fbff
SUPERCOP version: 20250922
Operation: crypto_stream
Primitive: simon128128ctr
| Time | Object size | Test size | Implementation | Compiler | Benchmark date | SUPERCOP version |
| 51390 | 166575 0 0 | 181462 780 1032 | T:sse4 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250904 | 20250415 |
| 55522 | 149862 0 0 | 163975 820 968 | T:sse4 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250904 | 20250415 |
| 55558 | 149894 0 0 | 165151 820 968 | T:sse4 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250904 | 20250415 |
| 60188 | 143834 0 0 | 155497 756 1000 | T:sse4 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250904 | 20250415 |
| 72436 | 150604 0 0 | 163263 820 968 | T:sse4 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250904 | 20250415 |
| 75060 | 163677 0 0 | 177334 780 1032 | T:sse4 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250904 | 20250415 |
| 75597 | 148597 0 0 | 160649 812 968 | T:sse4 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall | 20250904 | 20250415 |
| 80395 | 168907 0 0 | 182149 772 1032 | T:sse4 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall | 20250904 | 20250415 |
Compiler output
stream.c: stream.c:130:3: error: always_inline function '_mm256_set_epi64x' requires target feature 'avx', but would be inlined into function 'Encrypt' that is compiled without support for 'avx'
stream.c: 130 | SET1(X[0],nonce[1]); SET4(Y[0],nonce[0]);
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:130:3: error: AVX vector return of type '__m256i' (vector of 4 'long long' values) without 'avx' enabled changes the ABI
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:130:24: error: always_inline function '_mm256_set_epi64x' requires target feature 'avx', but would be inlined into function 'Encrypt' that is compiled without support for 'avx'
stream.c: 130 | SET1(X[0],nonce[1]); SET4(Y[0],nonce[0]);
stream.c: | ^
stream.c: ./Intrinsics_AVX2_128block.h:26:22: note: expanded from macro 'SET4'
stream.c: 26 | #define SET4(X,c) (X=SET(c,c,c,c), X=ADD(X,_q))
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: ...
Number of similar (implementation,compiler) pairs: 5, namely:
| Implementation | Compiler |
| T:avx2 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
| T:avx2 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
| T:avx2 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
| T:avx2 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
| T:avx2 | clang -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 Simon128128AVX2.h:17,
stream.c: from stream.c:21:
stream.c: stream.c: In function 'Encrypt':
stream.c: Intrinsics_AVX2_128block.h:25:21: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
stream.c: 25 | #define SET1(X,c) (X=SET(c,c,c,c))
stream.c: | ~~^~~~~~~~~~~~~~
stream.c: stream.c:130:3: note: in expansion of macro 'SET1'
stream.c: 130 | SET1(X[0],nonce[1]); SET4(Y[0],nonce[0]);
stream.c: | ^~~~
stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/14/include/immintrin.h:53,
stream.c: from Intrinsics_AVX2_128block.h:5:
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_128block.h:15:13: note: called from here
stream.c: 15 | #define XOR _mm256_xor_si256
stream.c: stream.c:414:10: note: in expansion of macro 'XOR'
stream.c: 414 | T[6] = XOR(T[6], SL(W[3],1));
stream.c: | ^~~
stream.c: /usr/lib/gcc/x86_64-linux-gnu/14/include/avx2intrin.h:696:1: error: inlining failed in call to 'always_inline' '_mm256_slli_epi64': target specific option mismatch
stream.c: 696 | _mm256_slli_epi64 (__m256i __A, int __B)
stream.c: | ^~~~~~~~~~~~~~~~~
stream.c: Intrinsics_AVX2_128block.h:15:13: note: called from here
stream.c: 15 | #define XOR _mm256_xor_si256
stream.c: ...
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| T:avx2 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:avx2 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:avx2 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:avx2 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Compiler output
stream.c: stream.c:324:58: warning: argument 'T' of type '__m128i[8]' with mismatched bound [-Warray-parameter]
stream.c: 324 | inline __attribute__((always_inline)) int Transpose(u128 T[8])
stream.c: | ^
stream.c: stream.c:28:58: note: previously declared as '__m128i[]' here
stream.c: 28 | inline __attribute__((always_inline)) int Transpose(u128 M[]);
stream.c: | ^
stream.c: 1 warning generated.
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| T:sse4 | clang -march=native -O2 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
| T:sse4 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
| T:sse4 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
| T:sse4 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
Compiler output
stream.c: stream.c:306: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: 306 | EKBS(rk);
stream.c: | ^
stream.c: ./Simon128128SSE4.h:62:19: note: expanded from macro 'EKBS'
stream.c: 62 | #define EKBS(rk) (RKBS(rk,2,_D), RKBS(rk,3,_C), RKBS(rk,4,_D), RKBS(rk,5,_C), RKBS(rk,6,_D), RKBS(rk,7,_D), RKBS(rk,8,_D), RKBS(rk,9,_D), \
stream.c: | ^
stream.c: ./Simon128128SSE4.h:53:52: note: expanded from macro 'RKBS'
stream.c: 53 | #define RKBS(rk,r,_V) (rk[r][7]= _D ^ rk[r-2][7] ^ ROR8(rk[r-1][2] ^ rk[r-1][3]), \
stream.c: | ^
stream.c: ./Intrinsics_SSE4_128block.h:39:19: note: expanded from macro 'ROR8'
stream.c: 39 | #define ROR8(X) (SHFL(X,R8))
stream.c: | ^
stream.c: ./Intrinsics_SSE4_128block.h:35:14: note: expanded from macro 'SHFL'
stream.c: 35 | #define SHFL _mm_shuffle_epi8
stream.c: | ^
stream.c: stream.c:306: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: ./Simon128128SSE4.h:62:19: note: expanded from macro 'EKBS'
stream.c: 62 | #define EKBS(rk) (RKBS(rk,2,_D), RKBS(rk,3,_C), RKBS(rk,4,_D), RKBS(rk,5,_C), RKBS(rk,6,_D), RKBS(rk,7,_D), RKBS(rk,8,_D), RKBS(rk,9,_D), \
stream.c: | ^
stream.c: ./Simon128128SSE4.h:54:38: note: expanded from macro 'RKBS'
stream.c: 54 | rk[r][6]= _D ^ rk[r-2][6] ^ ROR8(rk[r-1][1] ^ rk[r-1][2]), \
stream.c: | ^
stream.c: ./Intrinsics_SSE4_128block.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:
| Implementation | Compiler |
| T:sse4 | clang -mcpu=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
Compiler output
stream.c: stream.c:324:58: warning: argument 1 of type '__m128i[8]' with mismatched bound [-Warray-parameter=]
stream.c: 324 | inline __attribute__((always_inline)) int Transpose(u128 T[8])
stream.c: stream.c:28:58: note: previously declared as '__m128i[]'
stream.c: 28 | inline __attribute__((always_inline)) int Transpose(u128 M[]);
Number of similar (implementation,compiler) pairs: 4, namely:
| Implementation | Compiler |
| T:sse4 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:sse4 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:sse4 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:sse4 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
Namespace violations
stream.o ExpandKeyBS T
stream.o ExpandKeyNBS 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_19.1.7_(3+b1)) |
| T:sse4 | clang -march=native -O3 -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
| T:sse4 | clang -march=native -O -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
| T:sse4 | clang -march=native -Os -fwrapv -Qunused-arguments -fPIC -fPIE -gdwarf-4 -Wall (Debian_Clang_19.1.7_(3+b1)) |
| T:sse4 | gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:sse4 | gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:sse4 | gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |
| T:sse4 | gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (14.2.0) |