Implementation notes: amd64, katana, crypto_stream/simon128192ctr

Computer: katana
Architecture: amd64
CPU ID: GenuineIntel-000006f6-bfebfbff
SUPERCOP version: 20170105
Operation: crypto_stream
Primitive: simon128192ctr
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
22792? ? ?? ? ?sse4gcc_-m64_-march=core2_-Os_-fomit-frame-pointer2016101620161009
22792? ? ?? ? ?sse4gcc_-m64_-march=native_-mtune=native_-Os_-fomit-frame-pointer2016101620161009
22792? ? ?? ? ?sse4gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2016101620161009
23248? ? ?? ? ?sse4gcc_-m64_-march=core2_-O2_-fomit-frame-pointer2016101620161009
23248? ? ?? ? ?sse4gcc_-m64_-march=native_-mtune=native_-O2_-fomit-frame-pointer2016101620161009
23248? ? ?? ? ?sse4gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2016101620161009
23344? ? ?? ? ?sse4gcc_-m64_-march=core2_-O3_-fomit-frame-pointer2016101620161009
23344? ? ?? ? ?sse4gcc_-m64_-march=native_-mtune=native_-O3_-fomit-frame-pointer2016101620161009
23344? ? ?? ? ?sse4gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2016101620161009
23664? ? ?? ? ?sse4gcc_-m64_-march=core2_-O_-fomit-frame-pointer2016101620161009
23664? ? ?? ? ?sse4gcc_-m64_-march=native_-mtune=native_-O_-fomit-frame-pointer2016101620161009
23664? ? ?? ? ?sse4gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2016101620161009

Checksum failure

Implementation: crypto_stream/simon128192ctr/sse4
Compiler: clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments
d106babb6664046a23caf78187ff26c2264de8da1280f67b6ac7bf2602196b01
Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments sse4
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments sse4

Test failure

Implementation: crypto_stream/simon128192ctr/sse4
Compiler: gcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer
error 111

Number of similar (compiler,implementation) pairs: 9, namely:
CompilerImplementations
gcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer sse4
gcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer sse4
gcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer sse4
gcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer sse4
gcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer sse4
gcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer sse4
gcc -m64 -march=corei7 -O2 -fomit-frame-pointer sse4
gcc -m64 -march=corei7 -O -fomit-frame-pointer sse4
gcc -m64 -march=corei7 -Os -fomit-frame-pointer sse4

Compiler output

Implementation: crypto_stream/simon128192ctr/avx2
Compiler: cc
stream.c: stream.c: In function 'crypto_stream_simon128192ctr_avx2':
stream.c: stream.c:42:3: warning: implicit declaration of function 'ExpandKey' [-Wimplicit-function-declaration]
stream.c: ExpandKey(K,rk,key);
stream.c: ^
stream.c: stream.c:55:5: warning: implicit declaration of function 'Encrypt' [-Wimplicit-function-declaration]
stream.c: Encrypt(out,nonce,rk,key,320);
stream.c: ^
stream.c: stream.c: In function 'crypto_stream_simon128192ctr_avx2_xor':
stream.c: stream.c:191:5: warning: implicit declaration of function 'Encrypt_Xor' [-Wimplicit-function-declaration]
stream.c: Encrypt_Xor(out,in,nonce,rk,key,320);
stream.c: ^
stream.c: In file included from Simon128192AVX2.h:17:0,
stream.c: from stream.c:20:
stream.c: stream.c: In function 'Encrypt':
stream.c: Intrinsics_AVX2_128block.h:22:21: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
stream.c: #define SET1(X,c) (X=SET(c,c,c,c))
stream.c: ^
stream.c: stream.c:122:3: note: in expansion of macro 'SET1'
stream.c: SET1(X[0],nonce[1]);
stream.c: ^
stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
stream.c: from /usr/lib/gcc/x86_64-linux-gnu/5/include/x86intrin.h:46,
stream.c: from Intrinsics_AVX2_128block.h:5,
stream.c: from Simon128192AVX2.h:17,
stream.c: from stream.c:20:
stream.c: ...

Number of similar (compiler,implementation) pairs: 92, namely:
CompilerImplementations
cc avx2
gcc avx2
gcc -O2 -fomit-frame-pointer avx2
gcc -O3 -fomit-frame-pointer avx2
gcc -O -fomit-frame-pointer avx2
gcc -Os -fomit-frame-pointer avx2
gcc -fno-schedule-insns -O2 -fomit-frame-pointer avx2
gcc -fno-schedule-insns -O3 -fomit-frame-pointer avx2
gcc -fno-schedule-insns -O -fomit-frame-pointer avx2
gcc -fno-schedule-insns -Os -fomit-frame-pointer avx2
gcc -funroll-loops avx2
gcc -funroll-loops -O2 -fomit-frame-pointer avx2
gcc -funroll-loops -O3 -fomit-frame-pointer avx2
gcc -funroll-loops -O -fomit-frame-pointer avx2
gcc -funroll-loops -Os -fomit-frame-pointer avx2
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer avx2
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer avx2
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer avx2
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer avx2
gcc -funroll-loops -m64 -O2 -fomit-frame-pointer avx2
gcc -funroll-loops -m64 -O3 -fomit-frame-pointer avx2
gcc -funroll-loops -m64 -O -fomit-frame-pointer avx2
gcc -funroll-loops -m64 -Os -fomit-frame-pointer avx2
gcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer avx2
gcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer avx2
gcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer avx2
gcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer avx2
gcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer avx2
gcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer avx2
gcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer avx2
gcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer avx2
gcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer avx2
gcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer avx2
gcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer avx2
gcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer avx2
gcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer avx2
gcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer avx2
gcc -funroll-loops -march=barcelona -O -fomit-frame-pointer avx2
gcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer avx2
gcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer avx2
gcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer avx2
gcc -funroll-loops -march=k8 -O -fomit-frame-pointer avx2
gcc -funroll-loops -march=k8 -Os -fomit-frame-pointer avx2
gcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer avx2
gcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer avx2
gcc -funroll-loops -march=nocona -O -fomit-frame-pointer avx2
gcc -funroll-loops -march=nocona -Os -fomit-frame-pointer avx2
gcc -m64 -O2 -fomit-frame-pointer avx2
gcc -m64 -O3 -fomit-frame-pointer avx2
gcc -m64 -O -fomit-frame-pointer avx2
gcc -m64 -Os -fomit-frame-pointer avx2
gcc -m64 -march=core2 -O2 -fomit-frame-pointer avx2
gcc -m64 -march=core2 -O3 -fomit-frame-pointer avx2
gcc -m64 -march=core2 -O -fomit-frame-pointer avx2
gcc -m64 -march=core2 -Os -fomit-frame-pointer avx2
gcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer avx2
gcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer avx2
gcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer avx2
gcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer avx2
gcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer avx2
gcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer avx2
gcc -m64 -march=corei7 -O2 -fomit-frame-pointer avx2
gcc -m64 -march=corei7 -O -fomit-frame-pointer avx2
gcc -m64 -march=corei7 -Os -fomit-frame-pointer avx2
gcc -m64 -march=k8 -O2 -fomit-frame-pointer avx2
gcc -m64 -march=k8 -O3 -fomit-frame-pointer avx2
gcc -m64 -march=k8 -O -fomit-frame-pointer avx2
gcc -m64 -march=k8 -Os -fomit-frame-pointer avx2
gcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer avx2
gcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer avx2
gcc -m64 -march=native -mtune=native -O -fomit-frame-pointer avx2
gcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer avx2
gcc -m64 -march=nocona -O2 -fomit-frame-pointer avx2
gcc -m64 -march=nocona -O3 -fomit-frame-pointer avx2
gcc -m64 -march=nocona -O -fomit-frame-pointer avx2
gcc -m64 -march=nocona -Os -fomit-frame-pointer avx2
gcc -march=barcelona -O2 -fomit-frame-pointer avx2
gcc -march=barcelona -O3 -fomit-frame-pointer avx2
gcc -march=barcelona -O -fomit-frame-pointer avx2
gcc -march=barcelona -Os -fomit-frame-pointer avx2
gcc -march=k8 -O2 -fomit-frame-pointer avx2
gcc -march=k8 -O3 -fomit-frame-pointer avx2
gcc -march=k8 -O -fomit-frame-pointer avx2
gcc -march=k8 -Os -fomit-frame-pointer avx2
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv avx2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv avx2
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv avx2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv avx2
gcc -march=nocona -O2 -fomit-frame-pointer avx2
gcc -march=nocona -O3 -fomit-frame-pointer avx2
gcc -march=nocona -O -fomit-frame-pointer avx2
gcc -march=nocona -Os -fomit-frame-pointer avx2

Compiler output

Implementation: crypto_stream/simon128192ctr/sse4
Compiler: cc
stream.c: stream.c: In function 'crypto_stream_simon128192ctr_sse4':
stream.c: stream.c:42:3: warning: implicit declaration of function 'ExpandKey' [-Wimplicit-function-declaration]
stream.c: ExpandKey(K,rk,key);
stream.c: ^
stream.c: stream.c:55:5: warning: implicit declaration of function 'Encrypt' [-Wimplicit-function-declaration]
stream.c: Encrypt(out,nonce,rk,key,128);
stream.c: ^
stream.c: stream.c: In function 'crypto_stream_simon128192ctr_sse4_xor':
stream.c: stream.c:165:5: warning: implicit declaration of function 'Encrypt_Xor' [-Wimplicit-function-declaration]
stream.c: Encrypt_Xor(out,in,nonce,rk,key,128);
stream.c: ^
stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/x86intrin.h:37:0,
stream.c: from Intrinsics_SSE4_128block.h:5,
stream.c: from Simon128192SSE4.h:17,
stream.c: from stream.c:20:
stream.c: stream.c: In function 'Encrypt':
stream.c: /usr/lib/gcc/x86_64-linux-gnu/5/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline '_mm_shuffle_epi8': target specific option mismatch
stream.c: _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
stream.c: ^
stream.c: In file included from Simon128192SSE4.h:17:0,
stream.c: from stream.c:20:
stream.c: Intrinsics_SSE4_128block.h:15:13: error: called from here
stream.c: #define XOR _mm_xor_si128
stream.c: ^
stream.c: Simon128192SSE4.h:23:42: note: in expansion of macro 'XOR'
stream.c: ...

Number of similar (compiler,implementation) pairs: 71, namely:
CompilerImplementations
cc sse4
gcc sse4
gcc -O2 -fomit-frame-pointer sse4
gcc -O3 -fomit-frame-pointer sse4
gcc -O -fomit-frame-pointer sse4
gcc -Os -fomit-frame-pointer sse4
gcc -fno-schedule-insns -O2 -fomit-frame-pointer sse4
gcc -fno-schedule-insns -O3 -fomit-frame-pointer sse4
gcc -fno-schedule-insns -O -fomit-frame-pointer sse4
gcc -fno-schedule-insns -Os -fomit-frame-pointer sse4
gcc -funroll-loops sse4
gcc -funroll-loops -O2 -fomit-frame-pointer sse4
gcc -funroll-loops -O3 -fomit-frame-pointer sse4
gcc -funroll-loops -O -fomit-frame-pointer sse4
gcc -funroll-loops -Os -fomit-frame-pointer sse4
gcc -funroll-loops -fno-schedule-insns -O2 -fomit-frame-pointer sse4
gcc -funroll-loops -fno-schedule-insns -O3 -fomit-frame-pointer sse4
gcc -funroll-loops -fno-schedule-insns -O -fomit-frame-pointer sse4
gcc -funroll-loops -fno-schedule-insns -Os -fomit-frame-pointer sse4
gcc -funroll-loops -m64 -O2 -fomit-frame-pointer sse4
gcc -funroll-loops -m64 -O3 -fomit-frame-pointer sse4
gcc -funroll-loops -m64 -O -fomit-frame-pointer sse4
gcc -funroll-loops -m64 -Os -fomit-frame-pointer sse4
gcc -funroll-loops -m64 -march=barcelona -O2 -fomit-frame-pointer sse4
gcc -funroll-loops -m64 -march=barcelona -O3 -fomit-frame-pointer sse4
gcc -funroll-loops -m64 -march=barcelona -O -fomit-frame-pointer sse4
gcc -funroll-loops -m64 -march=barcelona -Os -fomit-frame-pointer sse4
gcc -funroll-loops -m64 -march=k8 -O2 -fomit-frame-pointer sse4
gcc -funroll-loops -m64 -march=k8 -O3 -fomit-frame-pointer sse4
gcc -funroll-loops -m64 -march=k8 -O -fomit-frame-pointer sse4
gcc -funroll-loops -m64 -march=k8 -Os -fomit-frame-pointer sse4
gcc -funroll-loops -m64 -march=nocona -O2 -fomit-frame-pointer sse4
gcc -funroll-loops -m64 -march=nocona -O3 -fomit-frame-pointer sse4
gcc -funroll-loops -m64 -march=nocona -O -fomit-frame-pointer sse4
gcc -funroll-loops -m64 -march=nocona -Os -fomit-frame-pointer sse4
gcc -funroll-loops -march=barcelona -O2 -fomit-frame-pointer sse4
gcc -funroll-loops -march=barcelona -O3 -fomit-frame-pointer sse4
gcc -funroll-loops -march=barcelona -O -fomit-frame-pointer sse4
gcc -funroll-loops -march=barcelona -Os -fomit-frame-pointer sse4
gcc -funroll-loops -march=k8 -O2 -fomit-frame-pointer sse4
gcc -funroll-loops -march=k8 -O3 -fomit-frame-pointer sse4
gcc -funroll-loops -march=k8 -O -fomit-frame-pointer sse4
gcc -funroll-loops -march=k8 -Os -fomit-frame-pointer sse4
gcc -funroll-loops -march=nocona -O2 -fomit-frame-pointer sse4
gcc -funroll-loops -march=nocona -O3 -fomit-frame-pointer sse4
gcc -funroll-loops -march=nocona -O -fomit-frame-pointer sse4
gcc -funroll-loops -march=nocona -Os -fomit-frame-pointer sse4
gcc -m64 -O2 -fomit-frame-pointer sse4
gcc -m64 -O3 -fomit-frame-pointer sse4
gcc -m64 -O -fomit-frame-pointer sse4
gcc -m64 -Os -fomit-frame-pointer sse4
gcc -m64 -march=k8 -O2 -fomit-frame-pointer sse4
gcc -m64 -march=k8 -O3 -fomit-frame-pointer sse4
gcc -m64 -march=k8 -O -fomit-frame-pointer sse4
gcc -m64 -march=k8 -Os -fomit-frame-pointer sse4
gcc -m64 -march=nocona -O2 -fomit-frame-pointer sse4
gcc -m64 -march=nocona -O3 -fomit-frame-pointer sse4
gcc -m64 -march=nocona -O -fomit-frame-pointer sse4
gcc -m64 -march=nocona -Os -fomit-frame-pointer sse4
gcc -march=barcelona -O2 -fomit-frame-pointer sse4
gcc -march=barcelona -O3 -fomit-frame-pointer sse4
gcc -march=barcelona -O -fomit-frame-pointer sse4
gcc -march=barcelona -Os -fomit-frame-pointer sse4
gcc -march=k8 -O2 -fomit-frame-pointer sse4
gcc -march=k8 -O3 -fomit-frame-pointer sse4
gcc -march=k8 -O -fomit-frame-pointer sse4
gcc -march=k8 -Os -fomit-frame-pointer sse4
gcc -march=nocona -O2 -fomit-frame-pointer sse4
gcc -march=nocona -O3 -fomit-frame-pointer sse4
gcc -march=nocona -O -fomit-frame-pointer sse4
gcc -march=nocona -Os -fomit-frame-pointer sse4

Compiler output

Implementation: crypto_stream/simon128192ctr/sse4
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
stream.c: stream.c:42:3: warning: implicit declaration of function 'ExpandKey' is invalid in C99 [-Wimplicit-function-declaration]
stream.c: ExpandKey(K,rk,key);
stream.c: ^
stream.c: stream.c:55:5: warning: implicit declaration of function 'Encrypt' is invalid in C99 [-Wimplicit-function-declaration]
stream.c: Encrypt(out,nonce,rk,key,128);
stream.c: ^
stream.c: stream.c:105: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: if (numbytes==32) Enc(X,Y,rk,2);
stream.c: ^
stream.c: ./Simon128192SSE4.h:41:23: note: expanded from macro 'Enc'
stream.c: #define Enc(X,Y,k,n) (Rx##n(X,Y,k[0],k[1]), Rx##n(X,Y,k[2],k[3]), Rx##n(X,Y,k[4],k[5]), Rx##n(X,Y,k[6],k[7]), Rx##n(X,Y,k[8],k[9]), \
stream.c: ^
stream.c: <scratch space>:74:1: note: expanded from here
stream.c: Rx2
stream.c: ^
stream.c: ./Simon128192SSE4.h:30:23: note: expanded from macro 'Rx2'
stream.c: #define Rx2(X,Y,k,l) (Sx2(X,Y,k), Sx2(Y,X,l))
stream.c: ^
stream.c: note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
stream.c: ./Simon128192SSE4.h:23:61: note: expanded from macro 'R'
stream.c: #define R(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: ./Intrinsics_SSE4_128block.h:35:19: note: expanded from macro 'ROL8'
stream.c: #define ROL8(X) (SHFL(X,L8))
stream.c: ^
stream.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments sse4
clang -mcpu=cortex-a8 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments sse4
clang -mcpu=cortex-a9 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments sse4
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments sse4

Compiler output

Implementation: crypto_stream/simon128192ctr/avx2
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
stream.c: stream.c:42:3: warning: implicit declaration of function 'ExpandKey' is invalid in C99 [-Wimplicit-function-declaration]
stream.c: ExpandKey(K,rk,key);
stream.c: ^
stream.c: stream.c:55:5: warning: implicit declaration of function 'Encrypt' is invalid in C99 [-Wimplicit-function-declaration]
stream.c: Encrypt(out,nonce,rk,key,320);
stream.c: ^
stream.c: stream.c:122:3: error: always_inline function '_mm256_set_epi64x' requires target feature 'sse4.2', but would be inlined into function 'Encrypt' that is compiled without support for 'sse4.2'
stream.c: SET1(X[0],nonce[1]);
stream.c: ^
stream.c: ./Intrinsics_AVX2_128block.h:22:22: note: expanded from macro 'SET1'
stream.c: #define SET1(X,c) (X=SET(c,c,c,c))
stream.c: ^
stream.c: ./Intrinsics_AVX2_128block.h:21:13: note: expanded from macro 'SET'
stream.c: #define SET _mm256_set_epi64x
stream.c: ^
stream.c: stream.c:123:3: error: always_inline function '_mm256_set_epi64x' requires target feature 'sse4.2', but would be inlined into function 'Encrypt' that is compiled without support for 'sse4.2'
stream.c: SET4(Y[0],nonce[0]);
stream.c: ^
stream.c: ./Intrinsics_AVX2_128block.h:23:22: note: expanded from macro 'SET4'
stream.c: #define SET4(X,c) (X=SET(c+3,c+1,c+2,c), c+=4)
stream.c: ^
stream.c: ./Intrinsics_AVX2_128block.h:21:13: note: expanded from macro 'SET'
stream.c: #define SET _mm256_set_epi64x
stream.c: ^
stream.c: stream.c:125:21: error: always_inline function '_mm256_xor_si256' requires target feature 'sse4.2', but would be inlined into function 'Encrypt' that is compiled without support for 'sse4.2'
stream.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang -O3 -fomit-frame-pointer -Qunused-arguments avx2
clang -mcpu=cortex-a8 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments avx2
clang -mcpu=cortex-a9 -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments avx2
clang -mcpu=native -mfpu=neon -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments avx2

Compiler output

Implementation: crypto_stream/simon128192ctr/sse4
Compiler: clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments
stream.c: stream.c:42:3: warning: implicit declaration of function 'ExpandKey' is invalid in C99 [-Wimplicit-function-declaration]
stream.c: ExpandKey(K,rk,key);
stream.c: ^
stream.c: stream.c:55:5: warning: implicit declaration of function 'Encrypt' is invalid in C99 [-Wimplicit-function-declaration]
stream.c: Encrypt(out,nonce,rk,key,128);
stream.c: ^
stream.c: stream.c:165:5: warning: implicit declaration of function 'Encrypt_Xor' is invalid in C99 [-Wimplicit-function-declaration]
stream.c: Encrypt_Xor(out,in,nonce,rk,key,128);
stream.c: ^
stream.c: 3 warnings generated.

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments sse4
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments sse4

Compiler output

Implementation: crypto_stream/simon128192ctr/avx2
Compiler: clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments
stream.c: stream.c:42:3: warning: implicit declaration of function 'ExpandKey' is invalid in C99 [-Wimplicit-function-declaration]
stream.c: ExpandKey(K,rk,key);
stream.c: ^
stream.c: stream.c:55:5: warning: implicit declaration of function 'Encrypt' is invalid in C99 [-Wimplicit-function-declaration]
stream.c: Encrypt(out,nonce,rk,key,320);
stream.c: ^
stream.c: stream.c:122:3: error: always_inline function '_mm256_set_epi64x' requires target feature 'xsave', but would be inlined into function 'Encrypt' that is compiled without support for 'xsave'
stream.c: SET1(X[0],nonce[1]);
stream.c: ^
stream.c: ./Intrinsics_AVX2_128block.h:22:22: note: expanded from macro 'SET1'
stream.c: #define SET1(X,c) (X=SET(c,c,c,c))
stream.c: ^
stream.c: ./Intrinsics_AVX2_128block.h:21:13: note: expanded from macro 'SET'
stream.c: #define SET _mm256_set_epi64x
stream.c: ^
stream.c: stream.c:123:3: error: always_inline function '_mm256_set_epi64x' requires target feature 'xsave', but would be inlined into function 'Encrypt' that is compiled without support for 'xsave'
stream.c: SET4(Y[0],nonce[0]);
stream.c: ^
stream.c: ./Intrinsics_AVX2_128block.h:23:22: note: expanded from macro 'SET4'
stream.c: #define SET4(X,c) (X=SET(c+3,c+1,c+2,c), c+=4)
stream.c: ^
stream.c: ./Intrinsics_AVX2_128block.h:21:13: note: expanded from macro 'SET'
stream.c: #define SET _mm256_set_epi64x
stream.c: ^
stream.c: stream.c:125:21: error: always_inline function '_mm256_xor_si256' requires target feature 'xsave', but would be inlined into function 'Encrypt' that is compiled without support for 'xsave'
stream.c: ...

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments avx2
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments avx2

Compiler output

Implementation: crypto_stream/simon128192ctr/avx2
Compiler: gcc -m64 -march=barcelona -O2 -fomit-frame-pointer
stream.c: stream.c: In function 'crypto_stream_simon128192ctr_avx2':
stream.c: stream.c:42:3: warning: implicit declaration of function 'ExpandKey' [-Wimplicit-function-declaration]
stream.c: ExpandKey(K,rk,key);
stream.c: ^
stream.c: stream.c:55:5: warning: implicit declaration of function 'Encrypt' [-Wimplicit-function-declaration]
stream.c: Encrypt(out,nonce,rk,key,320);
stream.c: ^
stream.c: stream.c: In function 'crypto_stream_simon128192ctr_avx2_xor':
stream.c: stream.c:191:5: warning: implicit declaration of function 'Encrypt_Xor' [-Wimplicit-function-declaration]
stream.c: Encrypt_Xor(out,in,nonce,rk,key,320);
stream.c: ^
stream.c: In file included from Simon128192AVX2.h:17:0,
stream.c: from stream.c:20:
stream.c: stream.c: In function 'Encrypt':
stream.c: Intrinsics_AVX2_128block.h:22:21: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
stream.c: #define SET1(X,c) (X=SET(c,c,c,c))
stream.c: ^
stream.c: stream.c:122:3: note: in expansion of macro 'SET1'
stream.c: SET1(X[0],nonce[1]);
stream.c: ^
stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
stream.c: from /usr/lib/gcc/x86_64-linux-gnu/5/include/x86intrin.h:46,
stream.c: from Intrinsics_AVX2_128block.h:5,
stream.c: from Simon128192AVX2.h:17,
stream.c: from stream.c:20:
stream.c: ...
stream.c: stream.c: In function 'crypto_stream_simon128192ctr_avx2':
stream.c: stream.c:42:3: warning: implicit declaration of function 'ExpandKey' [-Wimplicit-function-declaration]
stream.c: ExpandKey(K,rk,key);
stream.c: ^
stream.c: stream.c:55:5: warning: implicit declaration of function 'Encrypt' [-Wimplicit-function-declaration]
stream.c: Encrypt(out,nonce,rk,key,320);
stream.c: ^
stream.c: stream.c: In function 'crypto_stream_simon128192ctr_avx2_xor':
stream.c: stream.c:191:5: warning: implicit declaration of function 'Encrypt_Xor' [-Wimplicit-function-declaration]
stream.c: Encrypt_Xor(out,in,nonce,rk,key,320);
stream.c: ^
stream.c: In file included from Simon128192AVX2.h:17:0,
stream.c: from stream.c:20:
stream.c: stream.c: In function 'Encrypt':
stream.c: Intrinsics_AVX2_128block.h:22:21: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
stream.c: #define SET1(X,c) (X=SET(c,c,c,c))
stream.c: ^
stream.c: stream.c:122:3: note: in expansion of macro 'SET1'
stream.c: SET1(X[0],nonce[1]);
stream.c: ^
stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
stream.c: from /usr/lib/gcc/x86_64-linux-gnu/5/include/x86intrin.h:46,
stream.c: from Intrinsics_AVX2_128block.h:5,
stream.c: from Simon128192AVX2.h:17,
stream.c: from stream.c:20:
stream.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -m64 -march=barcelona -O2 -fomit-frame-pointer avx2
gcc -m64 -march=barcelona -O3 -fomit-frame-pointer avx2
gcc -m64 -march=barcelona -O -fomit-frame-pointer avx2
gcc -m64 -march=barcelona -Os -fomit-frame-pointer avx2

Compiler output

Implementation: crypto_stream/simon128192ctr/sse4
Compiler: gcc -m64 -march=barcelona -O2 -fomit-frame-pointer
stream.c: stream.c: In function 'crypto_stream_simon128192ctr_sse4':
stream.c: stream.c:42:3: warning: implicit declaration of function 'ExpandKey' [-Wimplicit-function-declaration]
stream.c: ExpandKey(K,rk,key);
stream.c: ^
stream.c: stream.c:55:5: warning: implicit declaration of function 'Encrypt' [-Wimplicit-function-declaration]
stream.c: Encrypt(out,nonce,rk,key,128);
stream.c: ^
stream.c: stream.c: In function 'crypto_stream_simon128192ctr_sse4_xor':
stream.c: stream.c:165:5: warning: implicit declaration of function 'Encrypt_Xor' [-Wimplicit-function-declaration]
stream.c: Encrypt_Xor(out,in,nonce,rk,key,128);
stream.c: ^
stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/x86intrin.h:37:0,
stream.c: from Intrinsics_SSE4_128block.h:5,
stream.c: from Simon128192SSE4.h:17,
stream.c: from stream.c:20:
stream.c: stream.c: In function 'Encrypt':
stream.c: /usr/lib/gcc/x86_64-linux-gnu/5/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline '_mm_shuffle_epi8': target specific option mismatch
stream.c: _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
stream.c: ^
stream.c: In file included from Simon128192SSE4.h:17:0,
stream.c: from stream.c:20:
stream.c: Intrinsics_SSE4_128block.h:15:13: error: called from here
stream.c: #define XOR _mm_xor_si128
stream.c: ^
stream.c: Simon128192SSE4.h:23:42: note: in expansion of macro 'XOR'
stream.c: ...
stream.c: stream.c: In function 'crypto_stream_simon128192ctr_sse4':
stream.c: stream.c:42:3: warning: implicit declaration of function 'ExpandKey' [-Wimplicit-function-declaration]
stream.c: ExpandKey(K,rk,key);
stream.c: ^
stream.c: stream.c:55:5: warning: implicit declaration of function 'Encrypt' [-Wimplicit-function-declaration]
stream.c: Encrypt(out,nonce,rk,key,128);
stream.c: ^
stream.c: stream.c: In function 'crypto_stream_simon128192ctr_sse4_xor':
stream.c: stream.c:165:5: warning: implicit declaration of function 'Encrypt_Xor' [-Wimplicit-function-declaration]
stream.c: Encrypt_Xor(out,in,nonce,rk,key,128);
stream.c: ^
stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/x86intrin.h:37:0,
stream.c: from Intrinsics_SSE4_128block.h:5,
stream.c: from Simon128192SSE4.h:17,
stream.c: from stream.c:20:
stream.c: stream.c: In function 'Encrypt':
stream.c: /usr/lib/gcc/x86_64-linux-gnu/5/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline '_mm_shuffle_epi8': target specific option mismatch
stream.c: _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
stream.c: ^
stream.c: In file included from Simon128192SSE4.h:17:0,
stream.c: from stream.c:20:
stream.c: Intrinsics_SSE4_128block.h:15:13: error: called from here
stream.c: #define XOR _mm_xor_si128
stream.c: ^
stream.c: Simon128192SSE4.h:23:42: note: in expansion of macro 'XOR'
stream.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -m64 -march=barcelona -O2 -fomit-frame-pointer sse4
gcc -m64 -march=barcelona -O3 -fomit-frame-pointer sse4
gcc -m64 -march=barcelona -O -fomit-frame-pointer sse4
gcc -m64 -march=barcelona -Os -fomit-frame-pointer sse4

Compiler output

Implementation: crypto_stream/simon128192ctr/sse4
Compiler: gcc -m64 -march=core2 -O2 -fomit-frame-pointer
stream.c: stream.c: In function 'crypto_stream_simon128192ctr_sse4':
stream.c: stream.c:42:3: warning: implicit declaration of function 'ExpandKey' [-Wimplicit-function-declaration]
stream.c: ExpandKey(K,rk,key);
stream.c: ^
stream.c: stream.c:55:5: warning: implicit declaration of function 'Encrypt' [-Wimplicit-function-declaration]
stream.c: Encrypt(out,nonce,rk,key,128);
stream.c: ^
stream.c: stream.c: In function 'crypto_stream_simon128192ctr_sse4_xor':
stream.c: stream.c:165:5: warning: implicit declaration of function 'Encrypt_Xor' [-Wimplicit-function-declaration]
stream.c: Encrypt_Xor(out,in,nonce,rk,key,128);
stream.c: ^

Number of similar (compiler,implementation) pairs: 21, namely:
CompilerImplementations
gcc -m64 -march=core2 -O2 -fomit-frame-pointer sse4
gcc -m64 -march=core2 -O3 -fomit-frame-pointer sse4
gcc -m64 -march=core2 -O -fomit-frame-pointer sse4
gcc -m64 -march=core2 -Os -fomit-frame-pointer sse4
gcc -m64 -march=core2 -msse4.1 -O2 -fomit-frame-pointer sse4
gcc -m64 -march=core2 -msse4.1 -O -fomit-frame-pointer sse4
gcc -m64 -march=core2 -msse4.1 -Os -fomit-frame-pointer sse4
gcc -m64 -march=core2 -msse4 -O2 -fomit-frame-pointer sse4
gcc -m64 -march=core2 -msse4 -O -fomit-frame-pointer sse4
gcc -m64 -march=core2 -msse4 -Os -fomit-frame-pointer sse4
gcc -m64 -march=corei7 -O2 -fomit-frame-pointer sse4
gcc -m64 -march=corei7 -O -fomit-frame-pointer sse4
gcc -m64 -march=corei7 -Os -fomit-frame-pointer sse4
gcc -m64 -march=native -mtune=native -O2 -fomit-frame-pointer sse4
gcc -m64 -march=native -mtune=native -O3 -fomit-frame-pointer sse4
gcc -m64 -march=native -mtune=native -O -fomit-frame-pointer sse4
gcc -m64 -march=native -mtune=native -Os -fomit-frame-pointer sse4
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv sse4
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv sse4
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv sse4
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv sse4