Implementation notes: amd64, cryptothinkx, crypto_stream/simon128192ctr

Computer: cryptothinkx
Architecture: amd64
CPU ID: GenuineIntel-00040651-bfebfbff
SUPERCOP version: 20170105
Operation: crypto_stream
Primitive: simon128192ctr
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
5553? ? ?? ? ?avx2clang_-O3_-fwrapv_-mavx2_-fomit-frame-pointer_-Qunused-arguments2017020320170105
5733? ? ?? ? ?avx2clang_-O3_-fwrapv_-march=native_-fomit-frame-pointer_-Qunused-arguments2017020320170105
5736? ? ?? ? ?avx2clang_-O3_-fwrapv_-march=x86-64_-mcpu=core-avx2_-mavx2_-maes_-mpclmul_-fomit-frame-pointer_-Qunused-arguments2017020320170105
5916? ? ?? ? ?avx2clang_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments2017020320170105
5994? ? ?? ? ?avx2gcc_-m64_-march=native_-mtune=native_-Os_-fomit-frame-pointer2017020320170105
6189? ? ?? ? ?avx2gcc_-m64_-march=native_-mtune=native_-O_-fomit-frame-pointer2017020320170105
6204? ? ?? ? ?avx2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2017020320170105
6381? ? ?? ? ?avx2gcc_-m64_-march=core-avx2_-O_-fomit-frame-pointer2017020320170105
6429? ? ?? ? ?avx2gcc_-m64_-march=native_-mtune=native_-O3_-fomit-frame-pointer2017020320170105
6432? ? ?? ? ?avx2gcc_-m64_-march=core-avx2_-O2_-fomit-frame-pointer2017020320170105
6432? ? ?? ? ?avx2gcc_-m64_-march=core-avx2_-O3_-fomit-frame-pointer2017020320170105
6432? ? ?? ? ?avx2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2017020320170105
6480? ? ?? ? ?avx2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2017020320170105
6603? ? ?? ? ?avx2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2017020320170105
6612? ? ?? ? ?avx2gcc_-m64_-march=core-avx2_-Os_-fomit-frame-pointer2017020320170105
7422? ? ?? ? ?avx2gcc_-m64_-march=native_-mtune=native_-O2_-fomit-frame-pointer2017020320170105
11187? ? ?? ? ?sse4gcc_-m64_-march=native_-mtune=native_-O_-fomit-frame-pointer2017020320170105
11553? ? ?? ? ?sse4gcc_-m64_-march=corei7-avx_-O_-fomit-frame-pointer2017020320170105
11565? ? ?? ? ?sse4gcc_-m64_-march=core-avx2_-O_-fomit-frame-pointer2017020320170105
11673? ? ?? ? ?sse4gcc_-m64_-march=native_-mtune=native_-O3_-fomit-frame-pointer2017020320170105
11937? ? ?? ? ?sse4gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2017020320170105
12054? ? ?? ? ?sse4gcc_-m64_-march=corei7-avx_-Os_-fomit-frame-pointer2017020320170105
12060? ? ?? ? ?sse4gcc_-m64_-march=corei7-avx_-O3_-fomit-frame-pointer2017020320170105
12063? ? ?? ? ?sse4gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2017020320170105
12066? ? ?? ? ?sse4gcc_-m64_-march=native_-mtune=native_-O2_-fomit-frame-pointer2017020320170105
12468? ? ?? ? ?sse4gcc_-m64_-march=core-avx2_-O2_-fomit-frame-pointer2017020320170105
12477? ? ?? ? ?sse4gcc_-m64_-march=core-avx-i_-O3_-fomit-frame-pointer2017020320170105
12477? ? ?? ? ?sse4gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2017020320170105
12480? ? ?? ? ?sse4gcc_-m64_-march=core-avx-i_-O2_-fomit-frame-pointer2017020320170105
12483? ? ?? ? ?sse4gcc_-m64_-march=core-avx-i_-Os_-fomit-frame-pointer2017020320170105
12489? ? ?? ? ?sse4gcc_-m64_-march=core-avx2_-Os_-fomit-frame-pointer2017020320170105
12489? ? ?? ? ?sse4gcc_-m64_-march=corei7-avx_-O2_-fomit-frame-pointer2017020320170105
12489? ? ?? ? ?sse4gcc_-m64_-march=native_-mtune=native_-Os_-fomit-frame-pointer2017020320170105
12741? ? ?? ? ?sse4gcc_-m64_-march=core-avx-i_-O_-fomit-frame-pointer2017020320170105
13362? ? ?? ? ?sse4gcc_-m64_-march=core-avx2_-O3_-fomit-frame-pointer2017020320170105
13371? ? ?? ? ?sse4gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2017020320170105
14955? ? ?? ? ?sse4gcc_-m64_-march=core2_-O3_-fomit-frame-pointer2017020320170105
15141? ? ?? ? ?sse4gcc_-m64_-march=core2_-O_-fomit-frame-pointer2017020320170105
15300? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4_-O2_-fomit-frame-pointer2017020320170105
15351? ? ?? ? ?sse4gcc_-m64_-march=corei7_-O_-fomit-frame-pointer2017020320170105
15378? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4_-O3_-fomit-frame-pointer2017020320170105
15426? ? ?? ? ?sse4gcc_-m64_-march=corei7_-O3_-fomit-frame-pointer2017020320170105
15453? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4.1_-O3_-fomit-frame-pointer2017020320170105
15651? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4_-O_-fomit-frame-pointer2017020320170105
16188? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4.1_-O_-fomit-frame-pointer2017020320170105
16383? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4.1_-O2_-fomit-frame-pointer2017020320170105
16404? ? ?? ? ?sse4gcc_-m64_-march=corei7_-O2_-fomit-frame-pointer2017020320170105
17620? ? ?? ? ?sse4gcc_-m64_-march=core2_-O2_-fomit-frame-pointer2017020320170105
24267? ? ?? ? ?sse4gcc_-m64_-march=core2_-Os_-fomit-frame-pointer2017020320170105
24312? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4_-Os_-fomit-frame-pointer2017020320170105
25776? ? ?? ? ?sse4gcc_-m64_-march=corei7_-Os_-fomit-frame-pointer2017020320170105
25983? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4.1_-Os_-fomit-frame-pointer2017020320170105

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: 6, namely:
CompilerImplementations
clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments sse4
clang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer -Qunused-arguments sse4
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments sse4
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments sse4
clang -O3 -fwrapv -mavx -maes -mpclmul -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: 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: from stream.c:20:
stream.c: Intrinsics_AVX2_128block.h:28:18: error: called from here
stream.c: #define ST(ip,X) _mm256_storeu_si256((__m256i *)(ip),X)
stream.c: ^
stream.c: Intrinsics_AVX2_128block.h:29:25: note: in expansion of macro ‘ST’
stream.c: #define STORE(out,X,Y) (ST(out,LOW(Y,X)), ST(out+32,HIGH(Y,X)))
stream.c: ^
stream.c: stream.c:151:22: note: in expansion of macro ‘STORE’
stream.c: if (numbytes>=320) STORE(out+256,X[4],Y[4]);
stream.c: ^

Number of similar (compiler,implementation) pairs: 87, 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 -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/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: ^
stream.c: Simon128192SSE4.h:28:69: note: in expansion of macro ‘R’
stream.c: #define Sx8(U,V,k) (R(U[0],V[0],k), R(U[1],V[1],k), R(U[2],V[2],k), R(U[3],V[3],k))
stream.c: ^
stream.c: Simon128192SSE4.h:47:105: note: in expansion of macro ‘Sx8’
stream.c: Rx##n(X,Y,k[60],k[61]), Rx##n(X,Y,k[62],k[63]), Rx##n(X,Y,k[64],k[65]), Rx##n(X,Y,k[66],k[67]), Sx##n(X,Y,k[68]))
stream.c: ^
stream.c: stream.c:117:2: note: in expansion of macro ‘Enc’
stream.c: Enc(X,Y,rk,8);
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: ...
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: ./Intrinsics_SSE4_128block.h:32:14: note: expanded from macro 'SHFL'
stream.c: #define SHFL _mm_shuffle_epi8
stream.c: ^
stream.c: fatal error: too many errors emitted, stopping now [-ferror-limit=]
stream.c: 2 warnings and 20 errors generated.

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: ...
stream.c: #define Sx4(U,V,k) (RD(U[0],V[0],k))
stream.c: ^
stream.c: ./Simon128192AVX2.h:23:41: note: expanded from macro 'RD'
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: ./Intrinsics_AVX2_128block.h:15:13: note: expanded from macro 'XOR'
stream.c: #define XOR _mm256_xor_si256
stream.c: ^
stream.c: fatal error: too many errors emitted, stopping now [-ferror-limit=]
stream.c: 2 warnings and 20 errors generated.

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: 6, namely:
CompilerImplementations
clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments sse4
clang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer -Qunused-arguments sse4
clang -O3 -fwrapv -mavx2 -fomit-frame-pointer -Qunused-arguments sse4
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments sse4
clang -O3 -fwrapv -mavx -maes -mpclmul -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:191:5: warning: implicit declaration of function 'Encrypt_Xor' is invalid in C99 [-Wimplicit-function-declaration]
stream.c: Encrypt_Xor(out,in,nonce,rk,key,320);
stream.c: ^
stream.c: 3 warnings generated.

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang -O3 -fwrapv -march=native -fomit-frame-pointer -Qunused-arguments avx2
clang -O3 -fwrapv -march=x86-64 -mcpu=core-avx2 -mavx2 -maes -mpclmul -fomit-frame-pointer -Qunused-arguments avx2
clang -O3 -fwrapv -mavx2 -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: clang -O3 -fwrapv -mavx -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:125: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: ./Simon128192AVX2.h:46:23: note: expanded from macro 'Enc'
stream.c: ...
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: ./Intrinsics_AVX2_128block.h:37:23: note: expanded from macro 'ROL'
stream.c: #define ROL(X,r) (XOR(SL(X,r),SR(X,(64-r))))
stream.c: ^
stream.c: ./Intrinsics_AVX2_128block.h:18:13: note: expanded from macro 'SL'
stream.c: #define SL _mm256_slli_epi64
stream.c: ^
stream.c: fatal error: too many errors emitted, stopping now [-ferror-limit=]
stream.c: 2 warnings and 20 errors generated.

Number of similar (compiler,implementation) pairs: 2, namely:
CompilerImplementations
clang -O3 -fwrapv -mavx -fomit-frame-pointer -Qunused-arguments avx2
clang -O3 -fwrapv -mavx -maes -mpclmul -fomit-frame-pointer -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: from stream.c:20:
stream.c: Intrinsics_AVX2_128block.h:28:18: error: called from here
stream.c: #define ST(ip,X) _mm256_storeu_si256((__m256i *)(ip),X)
stream.c: ^
stream.c: Intrinsics_AVX2_128block.h:29:25: note: in expansion of macro ‘ST’
stream.c: #define STORE(out,X,Y) (ST(out,LOW(Y,X)), ST(out+32,HIGH(Y,X)))
stream.c: ^
stream.c: stream.c:151:22: note: in expansion of macro ‘STORE’
stream.c: if (numbytes>=320) STORE(out+256,X[4],Y[4]);
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: from stream.c:20:
stream.c: Intrinsics_AVX2_128block.h:28:18: error: called from here
stream.c: #define ST(ip,X) _mm256_storeu_si256((__m256i *)(ip),X)
stream.c: ^
stream.c: Intrinsics_AVX2_128block.h:29:25: note: in expansion of macro ‘ST’
stream.c: #define STORE(out,X,Y) (ST(out,LOW(Y,X)), ST(out+32,HIGH(Y,X)))
stream.c: ^
stream.c: stream.c:151:22: note: in expansion of macro ‘STORE’
stream.c: if (numbytes>=320) STORE(out+256,X[4],Y[4]);
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: ^
stream.c: Simon128192SSE4.h:28:69: note: in expansion of macro ‘R’
stream.c: #define Sx8(U,V,k) (R(U[0],V[0],k), R(U[1],V[1],k), R(U[2],V[2],k), R(U[3],V[3],k))
stream.c: ^
stream.c: Simon128192SSE4.h:47:105: note: in expansion of macro ‘Sx8’
stream.c: Rx##n(X,Y,k[60],k[61]), Rx##n(X,Y,k[62],k[63]), Rx##n(X,Y,k[64],k[65]), Rx##n(X,Y,k[66],k[67]), Sx##n(X,Y,k[68]))
stream.c: ^
stream.c: stream.c:117:2: note: in expansion of macro ‘Enc’
stream.c: Enc(X,Y,rk,8);
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: ^
stream.c: Simon128192SSE4.h:28:69: note: in expansion of macro ‘R’
stream.c: #define Sx8(U,V,k) (R(U[0],V[0],k), R(U[1],V[1],k), R(U[2],V[2],k), R(U[3],V[3],k))
stream.c: ^
stream.c: Simon128192SSE4.h:47:105: note: in expansion of macro ‘Sx8’
stream.c: Rx##n(X,Y,k[60],k[61]), Rx##n(X,Y,k[62],k[63]), Rx##n(X,Y,k[64],k[65]), Rx##n(X,Y,k[66],k[67]), Sx##n(X,Y,k[68]))
stream.c: ^
stream.c: stream.c:117:2: note: in expansion of macro ‘Enc’
stream.c: Enc(X,Y,rk,8);
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/avx2
Compiler: gcc -m64 -march=core-avx-i -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: from stream.c:20:
stream.c: Intrinsics_AVX2_128block.h:28:18: error: called from here
stream.c: #define ST(ip,X) _mm256_storeu_si256((__m256i *)(ip),X)
stream.c: ^
stream.c: Intrinsics_AVX2_128block.h:29:43: note: in expansion of macro ‘ST’
stream.c: #define STORE(out,X,Y) (ST(out,LOW(Y,X)), ST(out+32,HIGH(Y,X)))
stream.c: ^
stream.c: stream.c:151:22: note: in expansion of macro ‘STORE’
stream.c: if (numbytes>=320) STORE(out+256,X[4],Y[4]);
stream.c: ^

Number of similar (compiler,implementation) pairs: 8, 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

Compiler output

Implementation: crypto_stream/simon128192ctr/sse4
Compiler: gcc -m64 -march=core-avx-i -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: 36, namely:
CompilerImplementations
gcc -m64 -march=core-avx-i -O2 -fomit-frame-pointer sse4
gcc -m64 -march=core-avx-i -O3 -fomit-frame-pointer sse4
gcc -m64 -march=core-avx-i -O -fomit-frame-pointer sse4
gcc -m64 -march=core-avx-i -Os -fomit-frame-pointer sse4
gcc -m64 -march=core-avx2 -O2 -fomit-frame-pointer sse4
gcc -m64 -march=core-avx2 -O3 -fomit-frame-pointer sse4
gcc -m64 -march=core-avx2 -O -fomit-frame-pointer sse4
gcc -m64 -march=core-avx2 -Os -fomit-frame-pointer sse4
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 -O3 -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 -O3 -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-avx -O2 -fomit-frame-pointer sse4
gcc -m64 -march=corei7-avx -O3 -fomit-frame-pointer sse4
gcc -m64 -march=corei7-avx -O -fomit-frame-pointer sse4
gcc -m64 -march=corei7-avx -Os -fomit-frame-pointer sse4
gcc -m64 -march=corei7 -O2 -fomit-frame-pointer sse4
gcc -m64 -march=corei7 -O3 -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

Compiler output

Implementation: crypto_stream/simon128192ctr/avx2
Compiler: gcc -m64 -march=core-avx2 -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: ^

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