Implementation notes: amd64, hydra7, crypto_stream/simon128128ctr

Computer: hydra7
Microarchitecture: amd64; Sandy Bridge+AES (206a7)
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20240625
Operation: crypto_stream
Primitive: simon128128ctr
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
8054113390 0 0128757 804 1024T:sse4gcc_-march=native_-mtune=native_-O3_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
14560113198 0 0127285 804 1024T:sse4gcc_-march=native_-mtune=native_-O2_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
15024115927 0 0128416 780 992T:sse4gcc_-march=native_-mtune=native_-Os_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625
15314118010 0 0131708 796 1024T:sse4gcc_-march=native_-mtune=native_-O_-fwrapv_-fPIC_-fPIE_-gdwarf-4_-Wall2024062620240625

Compiler output


stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
stream.c:                  from Intrinsics_AVX2_128block.h:5,
stream.c:                  from Simon128128AVX2.h:17,
stream.c:                  from stream.c:21:
stream.c: stream.c: In function 'Transpose':
stream.c: /usr/lib/gcc/x86_64-linux-gnu/11/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: In file included from Simon128128AVX2.h:17,
stream.c:                  from stream.c:21:
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: In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:47,
stream.c:                  from Intrinsics_AVX2_128block.h:5,
stream.c:                  from Simon128128AVX2.h:17,
stream.c:                  from stream.c:21:
stream.c: /usr/lib/gcc/x86_64-linux-gnu/11/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: In file included from Simon128128AVX2.h:17,
stream.c:                  from stream.c:21:
stream.c: Intrinsics_AVX2_128block.h:15: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 (11.4.0)
T:avx2gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:avx2gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:avx2gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)

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:
ImplementationCompiler
T:sse4gcc -march=native -mtune=native -O2 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:sse4gcc -march=native -mtune=native -O3 -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:sse4gcc -march=native -mtune=native -O -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)
T:sse4gcc -march=native -mtune=native -Os -fwrapv -fPIC -fPIE -gdwarf-4 -Wall (11.4.0)