Implementation notes: amd64, calvin, crypto_stream/simon128256ctr

Computer: calvin
Architecture: amd64
CPU ID: AuthenticAMD-00600f20-178bfbff
SUPERCOP version: 20171218
Operation: crypto_stream
Primitive: simon128256ctr
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
11531? ? ?? ? ?sse4gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2017080520170725
11607? ? ?? ? ?sse4gcc_-m64_-march=native_-mtune=native_-O3_-fomit-frame-pointer2017080520170725
11815? ? ?? ? ?sse4clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2017080520170725
12055? ? ?? ? ?sse4clang_-O3_-fwrapv_-march=native_-fomit-frame-pointer_-Qunused-arguments2017080520170725
12103? ? ?? ? ?sse4gcc_-m64_-march=core-avx-i_-O3_-fomit-frame-pointer2017080520170725
12287? ? ?? ? ?sse4gcc_-m64_-march=corei7-avx_-O3_-fomit-frame-pointer2017080520170725
12574? ? ?? ? ?sse4clang_-O3_-fwrapv_-mavx_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2017080520170725
12600? ? ?? ? ?sse4clang_-O3_-fwrapv_-mavx_-fomit-frame-pointer_-Qunused-arguments2017080520170725
12667? ? ?? ? ?sse4gcc_-m64_-march=corei7_-O3_-fomit-frame-pointer2017080520170725
14037? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4.1_-O3_-fomit-frame-pointer2017080520170725
14056? ? ?? ? ?sse4gcc_-m64_-march=core2_-O3_-fomit-frame-pointer2017080520170725
14098? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4_-O3_-fomit-frame-pointer2017080520170725
17081? ? ?? ? ?sse4gcc_-m64_-march=corei7-avx_-O2_-fomit-frame-pointer2017080520170725
17256? ? ?? ? ?sse4gcc_-m64_-march=core-avx-i_-O2_-fomit-frame-pointer2017080520170725
19216? ? ?? ? ?sse4gcc_-m64_-march=corei7_-O2_-fomit-frame-pointer2017080520170725
19373? ? ?? ? ?sse4gcc_-m64_-march=native_-mtune=native_-O2_-fomit-frame-pointer2017080520170725
19446? ? ?? ? ?sse4gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2017080520170725
19836? ? ?? ? ?sse4gcc_-m64_-march=corei7_-O_-fomit-frame-pointer2017080520170725
20089? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4.1_-O2_-fomit-frame-pointer2017080520170725
20145? ? ?? ? ?sse4gcc_-m64_-march=core2_-O2_-fomit-frame-pointer2017080520170725
20246? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4_-O2_-fomit-frame-pointer2017080520170725
21025? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4.1_-O_-fomit-frame-pointer2017080520170725
21154? ? ?? ? ?sse4gcc_-m64_-march=native_-mtune=native_-O_-fomit-frame-pointer2017080520170725
21358? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4_-O_-fomit-frame-pointer2017080520170725
21416? ? ?? ? ?sse4gcc_-m64_-march=core2_-O_-fomit-frame-pointer2017080520170725
21461? ? ?? ? ?sse4gcc_-m64_-march=corei7-avx_-O_-fomit-frame-pointer2017080520170725
21617? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4.1_-Os_-fomit-frame-pointer2017080520170725
21619? ? ?? ? ?sse4gcc_-m64_-march=core-avx-i_-O_-fomit-frame-pointer2017080520170725
21652? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4_-Os_-fomit-frame-pointer2017080520170725
21682? ? ?? ? ?sse4gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2017080520170725
21704? ? ?? ? ?sse4gcc_-m64_-march=core2_-Os_-fomit-frame-pointer2017080520170725
22193? ? ?? ? ?sse4gcc_-m64_-march=corei7-avx_-Os_-fomit-frame-pointer2017080520170725
22233? ? ?? ? ?sse4gcc_-m64_-march=core-avx-i_-Os_-fomit-frame-pointer2017080520170725
22609? ? ?? ? ?sse4gcc_-m64_-march=corei7_-Os_-fomit-frame-pointer2017080520170725
22734? ? ?? ? ?sse4gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2017080520170725
22735? ? ?? ? ?sse4gcc_-m64_-march=native_-mtune=native_-Os_-fomit-frame-pointer2017080520170725

Test failure

Implementation: crypto_stream/simon128256ctr/avx2
Compiler: gcc -m64 -march=core-avx2 -O2 -fomit-frame-pointer
error 111

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

Compiler output

Implementation: crypto_stream/simon128256ctr/sse4
Compiler: cc
stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/smmintrin.h:32:0,
stream.c: from Intrinsics_SSE4_128block.h:5,
stream.c: from Simon128256SSE4.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 Simon128256SSE4.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: Simon128256SSE4.h:24:41: note: in expansion of macro 'XOR'
stream.c: #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: Simon128256SSE4.h:26:25: note: in expansion of macro 'RD'
stream.c: #define Sx2(U,V,rk,s) (RD(U[0],V[0],rk[s][0]))
stream.c: ^
stream.c: Simon128256SSE4.h:32:43: note: in expansion of macro 'Sx2'
stream.c: #define R2x2(X,Y,rk,r,s) (Sx2(X,Y,rk,r), Sx2(Y,X,rk,s))
stream.c: ^
stream.c: Simon128256SSE4.h:50:10: note: in expansion of macro 'R2x2'
stream.c: R2x##n(X,Y,rk,70,71))
stream.c: ^
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/simon128256ctr/avx2
Compiler: cc
stream.c: In file included from Simon128256AVX2.h:17:0,
stream.c: from stream.c:20:
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: #define SET1(X,c) (X=SET(c,c,c,c))
stream.c: ^
stream.c: stream.c:128:3: note: in expansion of macro 'SET1'
stream.c: 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/5/include/immintrin.h:43:0,
stream.c: from Intrinsics_AVX2_128block.h:5,
stream.c: from Simon128256AVX2.h:17,
stream.c: from stream.c:20:
stream.c: /usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:126:1: error: inlining failed in call to always_inline '_mm256_add_epi64': target specific option mismatch
stream.c: _mm256_add_epi64 (__m256i __A, __m256i __B)
stream.c: ^
stream.c: In file included from Simon128256AVX2.h:17:0,
stream.c: from stream.c:20:
stream.c: Intrinsics_AVX2_128block.h:17:13: error: called from here
stream.c: #define ADD _mm256_add_epi64
stream.c: ^
stream.c: Intrinsics_AVX2_128block.h:26:38: note: in expansion of macro 'ADD'
stream.c: #define SET4(X,c) (X=SET(c,c,c,c), X=ADD(X,_q))
stream.c: ^
stream.c: stream.c:128:24: note: in expansion of macro 'SET4'
stream.c: ...

Number of similar (compiler,implementation) pairs: 3, namely:
CompilerImplementations
cc avx2
gcc avx2
gcc -funroll-loops avx2

Compiler output

Implementation: crypto_stream/simon128256ctr/avx2
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
stream.c: stream.c:128: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]); SET4(Y[0],nonce[0]);
stream.c: ^
stream.c: ./Intrinsics_AVX2_128block.h:25: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:24:13: note: expanded from macro 'SET'
stream.c: #define SET _mm256_set_epi64x
stream.c: ^
stream.c: stream.c:128:24: 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]); SET4(Y[0],nonce[0]);
stream.c: ^
stream.c: ./Intrinsics_AVX2_128block.h:26:22: note: expanded from macro 'SET4'
stream.c: #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: #define SET _mm256_set_epi64x
stream.c: ^
stream.c: stream.c:128:24: error: always_inline function '_mm256_add_epi64' requires target feature 'sse4.2', but would be inlined into function 'Encrypt' that is compiled without support for 'sse4.2'
stream.c: ./Intrinsics_AVX2_128block.h:26:38: note: expanded from macro 'SET4'
stream.c: #define SET4(X,c) (X=SET(c,c,c,c), X=ADD(X,_q))
stream.c: ^
stream.c: ./Intrinsics_AVX2_128block.h:17:13: note: expanded from macro 'ADD'
stream.c: #define ADD _mm256_add_epi64
stream.c: ^
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/simon128256ctr/sse4
Compiler: clang -O3 -fomit-frame-pointer -Qunused-arguments
stream.c: stream.c:308: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: EKBS(rk);
stream.c: ^
stream.c: ./Simon128256SSE4.h:67:19: note: expanded from macro 'EKBS'
stream.c: #define EKBS(rk) (RKBS(rk,4,_D), RKBS(rk,5,_D), RKBS(rk,6,_C), RKBS(rk,7,_D), RKBS(rk,8,_C), RKBS(rk,9,_C), RKBS(rk,10,_C), RKBS(rk,11,_D), \
stream.c: ^
stream.c: ./Simon128256SSE4.h:57:52: note: expanded from macro 'RKBS'
stream.c: #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_128block.h:39:19: note: expanded from macro 'ROR8'
stream.c: #define ROR8(X) (SHFL(X,R8))
stream.c: ^
stream.c: ./Intrinsics_SSE4_128block.h:35:14: note: expanded from macro 'SHFL'
stream.c: #define SHFL _mm_shuffle_epi8
stream.c: ^
stream.c: stream.c:308: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: ./Simon128256SSE4.h:67:19: note: expanded from macro 'EKBS'
stream.c: #define EKBS(rk) (RKBS(rk,4,_D), RKBS(rk,5,_D), RKBS(rk,6,_C), RKBS(rk,7,_D), RKBS(rk,8,_C), RKBS(rk,9,_C), RKBS(rk,10,_C), RKBS(rk,11,_D), \
stream.c: ^
stream.c: ./Simon128256SSE4.h:57:85: note: expanded from macro 'RKBS'
stream.c: #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_128block.h:39:19: note: expanded from macro 'ROR8'
stream.c: #define ROR8(X) (SHFL(X,R8))
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/simon128256ctr/avx2
Compiler: clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments
stream.c: stream.c:128:24: error: always_inline function '_mm256_add_epi64' requires target feature 'avx2', but would be inlined into function 'Encrypt' that is compiled without support for 'avx2'
stream.c: SET1(X[0],nonce[1]); SET4(Y[0],nonce[0]);
stream.c: ^
stream.c: ./Intrinsics_AVX2_128block.h:26:38: note: expanded from macro 'SET4'
stream.c: #define SET4(X,c) (X=SET(c,c,c,c), X=ADD(X,_q))
stream.c: ^
stream.c: ./Intrinsics_AVX2_128block.h:17:13: note: expanded from macro 'ADD'
stream.c: #define ADD _mm256_add_epi64
stream.c: ^
stream.c: stream.c:130:21: error: always_inline function '_mm256_xor_si256' requires target feature 'avx2', but would be inlined into function 'Encrypt' that is compiled without support for 'avx2'
stream.c: if (numbytes==64) Enc(X,Y,rk,4);
stream.c: ^
stream.c: ./Simon128256AVX2.h:45:24: note: expanded from macro 'Enc'
stream.c: #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>:111:1: note: expanded from here
stream.c: R2x4
stream.c: ^
stream.c: ./Simon128256AVX2.h:32:28: note: expanded from macro 'R2x4'
stream.c: #define R2x4(X,Y,rk,r,s) (Sx4(X,Y,rk,r), Sx4(Y,X,rk,s))
stream.c: ^
stream.c: ./Simon128256AVX2.h:26:25: note: expanded from macro 'Sx4'
stream.c: #define Sx4(U,V,rk,s) (RD(U[0],V[0],rk[s][0]))
stream.c: ^
stream.c: ./Simon128256AVX2.h:24:22: note: expanded from macro 'RD'
stream.c: ...

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

Compiler output

Implementation: crypto_stream/simon128256ctr/avx2
Compiler: gcc -O2 -fomit-frame-pointer
stream.c: In file included from Simon128256AVX2.h:17:0,
stream.c: from stream.c:20:
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: #define SET1(X,c) (X=SET(c,c,c,c))
stream.c: ^
stream.c: stream.c:128:3: note: in expansion of macro 'SET1'
stream.c: 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/5/include/immintrin.h:43:0,
stream.c: from Intrinsics_AVX2_128block.h:5,
stream.c: from Simon128256AVX2.h:17,
stream.c: from stream.c:20:
stream.c: stream.c: In function 'Transpose':
stream.c: /usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:913:1: error: inlining failed in call to always_inline '_mm256_xor_si256': target specific option mismatch
stream.c: _mm256_xor_si256 (__m256i __A, __m256i __B)
stream.c: ^
stream.c: In file included from Simon128256AVX2.h:17:0,
stream.c: from stream.c:20:
stream.c: Intrinsics_AVX2_128block.h:15:13: error: called from here
stream.c: #define XOR _mm256_xor_si256
stream.c: ^
stream.c: stream.c:412:10: note: in expansion of macro 'XOR'
stream.c: T[6] = XOR(T[6], SL(W[3],1));
stream.c: ^
stream.c: ...

Number of similar (compiler,implementation) pairs: 84, namely:
CompilerImplementations
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 -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 -O3 -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 -O3 -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 -O3 -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=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=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/simon128256ctr/sse4
Compiler: gcc -m64 -march=barcelona -O2 -fomit-frame-pointer
stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/smmintrin.h:32:0,
stream.c: from Intrinsics_SSE4_128block.h:5,
stream.c: from Simon128256SSE4.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 Simon128256SSE4.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: Simon128256SSE4.h:24:41: note: in expansion of macro 'XOR'
stream.c: #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: Simon128256SSE4.h:26:25: note: in expansion of macro 'RD'
stream.c: #define Sx2(U,V,rk,s) (RD(U[0],V[0],rk[s][0]))
stream.c: ^
stream.c: Simon128256SSE4.h:32:43: note: in expansion of macro 'Sx2'
stream.c: #define R2x2(X,Y,rk,r,s) (Sx2(X,Y,rk,r), Sx2(Y,X,rk,s))
stream.c: ^
stream.c: Simon128256SSE4.h:50:10: note: in expansion of macro 'R2x2'
stream.c: R2x##n(X,Y,rk,70,71))
stream.c: ^
stream.c: ...
stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/smmintrin.h:32:0,
stream.c: from Intrinsics_SSE4_128block.h:5,
stream.c: from Simon128256SSE4.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 Simon128256SSE4.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: Simon128256SSE4.h:24:41: note: in expansion of macro 'XOR'
stream.c: #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: Simon128256SSE4.h:26:25: note: in expansion of macro 'RD'
stream.c: #define Sx2(U,V,rk,s) (RD(U[0],V[0],rk[s][0]))
stream.c: ^
stream.c: Simon128256SSE4.h:32:43: note: in expansion of macro 'Sx2'
stream.c: #define R2x2(X,Y,rk,r,s) (Sx2(X,Y,rk,r), Sx2(Y,X,rk,s))
stream.c: ^
stream.c: Simon128256SSE4.h:50:10: note: in expansion of macro 'R2x2'
stream.c: R2x##n(X,Y,rk,70,71))
stream.c: ^
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/simon128256ctr/avx2
Compiler: gcc -m64 -march=barcelona -O2 -fomit-frame-pointer
stream.c: In file included from Simon128256AVX2.h:17:0,
stream.c: from stream.c:20:
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: #define SET1(X,c) (X=SET(c,c,c,c))
stream.c: ^
stream.c: stream.c:128:3: note: in expansion of macro 'SET1'
stream.c: 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/5/include/immintrin.h:43:0,
stream.c: from Intrinsics_AVX2_128block.h:5,
stream.c: from Simon128256AVX2.h:17,
stream.c: from stream.c:20:
stream.c: stream.c: In function 'Transpose':
stream.c: /usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:913:1: error: inlining failed in call to always_inline '_mm256_xor_si256': target specific option mismatch
stream.c: _mm256_xor_si256 (__m256i __A, __m256i __B)
stream.c: ^
stream.c: In file included from Simon128256AVX2.h:17:0,
stream.c: from stream.c:20:
stream.c: Intrinsics_AVX2_128block.h:15:13: error: called from here
stream.c: #define XOR _mm256_xor_si256
stream.c: ^
stream.c: stream.c:412:10: note: in expansion of macro 'XOR'
stream.c: T[6] = XOR(T[6], SL(W[3],1));
stream.c: ^
stream.c: ...
stream.c: In file included from Simon128256AVX2.h:17:0,
stream.c: from stream.c:20:
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: #define SET1(X,c) (X=SET(c,c,c,c))
stream.c: ^
stream.c: stream.c:128:3: note: in expansion of macro 'SET1'
stream.c: 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/5/include/immintrin.h:43:0,
stream.c: from Intrinsics_AVX2_128block.h:5,
stream.c: from Simon128256AVX2.h:17,
stream.c: from stream.c:20:
stream.c: stream.c: In function 'Transpose':
stream.c: /usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:913:1: error: inlining failed in call to always_inline '_mm256_xor_si256': target specific option mismatch
stream.c: _mm256_xor_si256 (__m256i __A, __m256i __B)
stream.c: ^
stream.c: In file included from Simon128256AVX2.h:17:0,
stream.c: from stream.c:20:
stream.c: Intrinsics_AVX2_128block.h:15:13: error: called from here
stream.c: #define XOR _mm256_xor_si256
stream.c: ^
stream.c: stream.c:412:10: note: in expansion of macro 'XOR'
stream.c: T[6] = XOR(T[6], SL(W[3],1));
stream.c: ^
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/simon128256ctr/avx2
Compiler: gcc -m64 -march=core-avx-i -O2 -fomit-frame-pointer
stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
stream.c: from Intrinsics_AVX2_128block.h:5,
stream.c: from Simon128256AVX2.h:17,
stream.c: from stream.c:20:
stream.c: stream.c: In function 'Transpose':
stream.c: /usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:913:1: error: inlining failed in call to always_inline '_mm256_xor_si256': target specific option mismatch
stream.c: _mm256_xor_si256 (__m256i __A, __m256i __B)
stream.c: ^
stream.c: In file included from Simon128256AVX2.h:17:0,
stream.c: from stream.c:20:
stream.c: Intrinsics_AVX2_128block.h:15:13: error: called from here
stream.c: #define XOR _mm256_xor_si256
stream.c: ^
stream.c: stream.c:412:10: note: in expansion of macro 'XOR'
stream.c: T[6] = XOR(T[6], SL(W[3],1));
stream.c: ^
stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:43:0,
stream.c: from Intrinsics_AVX2_128block.h:5,
stream.c: from Simon128256AVX2.h:17,
stream.c: from stream.c:20:
stream.c: /usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h:696:1: error: inlining failed in call to always_inline '_mm256_slli_epi64': target specific option mismatch
stream.c: _mm256_slli_epi64 (__m256i __A, int __B)
stream.c: ^
stream.c: In file included from Simon128256AVX2.h:17:0,
stream.c: from stream.c:20:
stream.c: ...

Number of similar (compiler,implementation) pairs: 16, namely:
CompilerImplementations
gcc -m64 -march=core-avx-i -O2 -fomit-frame-pointer avx2
gcc -m64 -march=core-avx-i -O3 -fomit-frame-pointer avx2
gcc -m64 -march=core-avx-i -O -fomit-frame-pointer avx2
gcc -m64 -march=core-avx-i -Os -fomit-frame-pointer avx2
gcc -m64 -march=corei7-avx -O2 -fomit-frame-pointer avx2
gcc -m64 -march=corei7-avx -O3 -fomit-frame-pointer avx2
gcc -m64 -march=corei7-avx -O -fomit-frame-pointer avx2
gcc -m64 -march=corei7-avx -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 -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