Implementation notes: amd64, speed2supercop, crypto_stream/speck64128ctr

Computer: speed2supercop
Microarchitecture: amd64; Haswell+AES (306c3)
Architecture: amd64
CPU ID: GenuineIntel-000306c3-1fc9cbf5
SUPERCOP version: 20240107
Operation: crypto_stream
Primitive: speck64128ctr
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
176831999 0 043088 728 832T:avx2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420240107
181633917 0 046188 744 864T:avx2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420240107
184036421 0 051101 752 864T:avx2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420240107
184434064 0 046869 752 864T:avx2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420240107
340427184 0 038248 728 832T:sse4gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420240107
347228415 0 040684 744 864T:sse4gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420240107
352028424 0 041229 752 864T:sse4gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420240107
352030732 0 045397 752 864T:sse4gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2024011420240107

Compiler output

Implementation: T:avx512
Security model: timingleaks
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
stream.c: In file included from Speck64128AVX512.h:17,
stream.c: from stream.c:20:
stream.c: stream.c: In function 'Encrypt':
stream.c: Intrinsics_AVX512_64block.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,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]); SET16(Y[0],nonce[0]);
stream.c: | ^~~~
stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/12/include/immintrin.h:49,
stream.c: from Intrinsics_AVX512_64block.h:5:
stream.c: /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:6523:1: error: inlining failed in call to 'always_inline' '_mm512_storeu_si512': target specific option mismatch
stream.c: 6523 | _mm512_storeu_si512 (void *__P, __m512i __A)
stream.c: | ^~~~~~~~~~~~~~~~~~~
stream.c: Intrinsics_AVX512_64block.h:31:18: note: called from here
stream.c: 31 | #define ST(ip,X) _mm512_storeu_si512((__m512i *)(ip),X)
stream.c: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stream.c: Intrinsics_AVX512_64block.h:32:42: note: in expansion of macro 'ST'
stream.c: 32 | #define STORE(out,X,Y) (ST(out,LOW(Y,X)),ST(out+64,HIGH(Y,X)))
stream.c: | ^~
stream.c: stream.c:138:5: note: in expansion of macro 'STORE'
stream.c: 138 | STORE(block1024,X[0],Y[0]);
stream.c: | ^~~~~
stream.c: /usr/lib/gcc/x86_64-linux-gnu/12/include/avx512fintrin.h:8017:1: error: inlining failed in call to 'always_inline' '_mm512_unpackhi_epi32': target specific option mismatch
stream.c: 8017 | _mm512_unpackhi_epi32 (__m512i __A, __m512i __B)
stream.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx512
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx512
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx512
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv -fPIC -fPIE T:avx512