Implementation notes: amd64, manny357, crypto_stream/simon128192ctr

Computer: manny357
Architecture: amd64
CPU ID: GenuineIntel-000406f1-bfebfbff
SUPERCOP version: 20170228
Operation: crypto_stream
Primitive: simon128192ctr
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
7096? ? ?? ? ?avx2gcc_-m64_-march=core-avx2_-O_-fomit-frame-pointer2017040920170228
7096? ? ?? ? ?avx2gcc_-m64_-march=native_-mtune=native_-O_-fomit-frame-pointer2017040920170228
7096? ? ?? ? ?avx2gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2017040920170228
7100? ? ?? ? ?avx2gcc_-m64_-march=core-avx2_-O2_-fomit-frame-pointer2017040920170228
7104? ? ?? ? ?avx2gcc_-m64_-march=native_-mtune=native_-O3_-fomit-frame-pointer2017040920170228
7104? ? ?? ? ?avx2gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2017040920170228
7108? ? ?? ? ?avx2gcc_-m64_-march=core-avx2_-O3_-fomit-frame-pointer2017040920170228
7108? ? ?? ? ?avx2gcc_-m64_-march=native_-mtune=native_-O2_-fomit-frame-pointer2017040920170228
7112? ? ?? ? ?avx2gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2017040920170228
7124? ? ?? ? ?avx2gcc_-m64_-march=native_-mtune=native_-Os_-fomit-frame-pointer2017040920170228
7128? ? ?? ? ?avx2gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2017040920170228
7132? ? ?? ? ?avx2gcc_-m64_-march=core-avx2_-Os_-fomit-frame-pointer2017040920170228
13732? ? ?? ? ?sse4gcc_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv2017040920170228
13744? ? ?? ? ?sse4gcc_-m64_-march=native_-mtune=native_-O_-fomit-frame-pointer2017040920170228
13748? ? ?? ? ?sse4gcc_-m64_-march=core-avx-i_-O_-fomit-frame-pointer2017040920170228
13748? ? ?? ? ?sse4gcc_-m64_-march=corei7-avx_-O_-fomit-frame-pointer2017040920170228
13752? ? ?? ? ?sse4gcc_-m64_-march=core-avx2_-O_-fomit-frame-pointer2017040920170228
13764? ? ?? ? ?sse4gcc_-m64_-march=native_-mtune=native_-O2_-fomit-frame-pointer2017040920170228
13796? ? ?? ? ?sse4gcc_-m64_-march=core-avx2_-O2_-fomit-frame-pointer2017040920170228
13800? ? ?? ? ?sse4gcc_-m64_-march=native_-mtune=native_-O3_-fomit-frame-pointer2017040920170228
13812? ? ?? ? ?sse4gcc_-m64_-march=core-avx2_-O3_-fomit-frame-pointer2017040920170228
13812? ? ?? ? ?sse4gcc_-m64_-march=core-avx2_-Os_-fomit-frame-pointer2017040920170228
13812? ? ?? ? ?sse4gcc_-m64_-march=native_-mtune=native_-Os_-fomit-frame-pointer2017040920170228
13812? ? ?? ? ?sse4gcc_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv2017040920170228
13812? ? ?? ? ?sse4gcc_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv2017040920170228
13816? ? ?? ? ?sse4gcc_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv2017040920170228
13868? ? ?? ? ?sse4gcc_-m64_-march=core-avx-i_-Os_-fomit-frame-pointer2017040920170228
13892? ? ?? ? ?sse4gcc_-m64_-march=corei7-avx_-Os_-fomit-frame-pointer2017040920170228
13932? ? ?? ? ?sse4gcc_-m64_-march=core-avx-i_-O3_-fomit-frame-pointer2017040920170228
13932? ? ?? ? ?sse4gcc_-m64_-march=corei7-avx_-O3_-fomit-frame-pointer2017040920170228
13952? ? ?? ? ?sse4gcc_-m64_-march=corei7-avx_-O2_-fomit-frame-pointer2017040920170228
13972? ? ?? ? ?sse4gcc_-m64_-march=core-avx-i_-O2_-fomit-frame-pointer2017040920170228
16972? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4.1_-O3_-fomit-frame-pointer2017040920170228
16984? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4.1_-O2_-fomit-frame-pointer2017040920170228
17012? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4_-O2_-fomit-frame-pointer2017040920170228
17028? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4_-O3_-fomit-frame-pointer2017040920170228
17032? ? ?? ? ?sse4gcc_-m64_-march=core2_-O3_-fomit-frame-pointer2017040920170228
17036? ? ?? ? ?sse4gcc_-m64_-march=core2_-O2_-fomit-frame-pointer2017040920170228
17088? ? ?? ? ?sse4gcc_-m64_-march=corei7_-O2_-fomit-frame-pointer2017040920170228
17104? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4_-O_-fomit-frame-pointer2017040920170228
17136? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4.1_-O_-fomit-frame-pointer2017040920170228
17200? ? ?? ? ?sse4gcc_-m64_-march=core2_-O_-fomit-frame-pointer2017040920170228
17204? ? ?? ? ?sse4gcc_-m64_-march=corei7_-O3_-fomit-frame-pointer2017040920170228
17268? ? ?? ? ?sse4gcc_-m64_-march=corei7_-O_-fomit-frame-pointer2017040920170228
27156? ? ?? ? ?sse4gcc_-m64_-march=corei7_-Os_-fomit-frame-pointer2017040920170228
27612? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4.1_-Os_-fomit-frame-pointer2017040920170228
27632? ? ?? ? ?sse4gcc_-m64_-march=core2_-Os_-fomit-frame-pointer2017040920170228
27632? ? ?? ? ?sse4gcc_-m64_-march=core2_-msse4_-Os_-fomit-frame-pointer2017040920170228

Compiler output

Implementation: crypto_stream/simon128192ctr/avx2
Compiler: cc
stream.c: In file included from Simon128192AVX2.h:17:0,
stream.c: from stream.c:20:
stream.c: stream.c: In function 'crypto_stream_simon128192ctr_avx2':
stream.c: Intrinsics_AVX2_128block.h:10:14: error: unknown type name '__m256i'
stream.c: #define u256 __m256i
stream.c: ^
stream.c: stream.c:33:3: note: in expansion of macro 'u256'
stream.c: u256 rk[72];
stream.c: ^
stream.c: stream.c: At top level:
stream.c: Intrinsics_AVX2_128block.h:10:14: error: unknown type name '__m256i'
stream.c: #define u256 __m256i
stream.c: ^
stream.c: stream.c:99:46: note: in expansion of macro 'u256'
stream.c: int Encrypt(unsigned char *out, u64 nonce[], u256 rk[], u64 key[], int numbytes)
stream.c: ^
stream.c: stream.c: In function 'crypto_stream_simon128192ctr_avx2_xor':
stream.c: Intrinsics_AVX2_128block.h:10:14: error: unknown type name '__m256i'
stream.c: #define u256 __m256i
stream.c: ^
stream.c: stream.c:169:3: note: in expansion of macro 'u256'
stream.c: u256 rk[72];
stream.c: ^
stream.c: stream.c: At top level:
stream.c: Intrinsics_AVX2_128block.h:10:14: error: unknown type name '__m256i'
stream.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
cc avx2

Compiler output

Implementation: crypto_stream/simon128192ctr/sse4
Compiler: cc
stream.c: stream.c: In function 'Encrypt':
stream.c: stream.c:105:3: error: incompatible type for argument 2 of '_mm_and_si128'
stream.c: if (numbytes==32) Enc(X,Y,rk,2);
stream.c: ^
stream.c: In file included from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/xmmintrin.h:1246:0,
stream.c: from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/x86intrin.h:34,
stream.c: from Intrinsics_SSE4_128block.h:5,
stream.c: from Simon128192SSE4.h:17,
stream.c: from stream.c:20:
stream.c: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/emmintrin.h:1246:1: note: expected '__m128i' but argument is of type 'int'
stream.c: _mm_and_si128 (__m128i __A, __m128i __B)
stream.c: ^
stream.c: stream.c:105:3: error: incompatible type for argument 2 of '_mm_and_si128'
stream.c: if (numbytes==32) Enc(X,Y,rk,2);
stream.c: ^
stream.c: In file included from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/xmmintrin.h:1246:0,
stream.c: from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/x86intrin.h:34,
stream.c: from Intrinsics_SSE4_128block.h:5,
stream.c: from Simon128192SSE4.h:17,
stream.c: from stream.c:20:
stream.c: /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/emmintrin.h:1246:1: note: expected '__m128i' but argument is of type 'int'
stream.c: _mm_and_si128 (__m128i __A, __m128i __B)
stream.c: ^
stream.c: stream.c:105:3: error: incompatible type for argument 2 of '_mm_and_si128'
stream.c: if (numbytes==32) Enc(X,Y,rk,2);
stream.c: ...

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
cc sse4

Compiler output

Implementation: crypto_stream/simon128192ctr/avx2
Compiler: gcc
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 /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/immintrin.h:41:0,
stream.c: from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:48,
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: 86, namely:
CompilerImplementations
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: gcc
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 /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:39: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: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/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: note: 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: 70, namely:
CompilerImplementations
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/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 /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/immintrin.h:41:0,
stream.c: from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:48,
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 /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/immintrin.h:41:0,
stream.c: from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:48,
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 /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:39: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: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/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: note: 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 /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:39: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: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/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: note: 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/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: In file included from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/immintrin.h:43:0,
stream.c: from /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/x86intrin.h:48,
stream.c: from Intrinsics_AVX2_128block.h:5,
stream.c: from Simon128192AVX2.h:17,
stream.c: from stream.c:20:
stream.c: stream.c: In function 'Encrypt':
stream.c: /home_nfs/bdolbeaur/gcc-6.3.0-full+isl/lib/gcc/x86_64-pc-linux-gnu/6.3.0/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 Simon128192AVX2.h:17:0,
stream.c: from stream.c:20:
stream.c: Intrinsics_AVX2_128block.h:15:13: note: called from here
stream.c: #define XOR _mm256_xor_si256
stream.c:
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

Compiler output

Implementation: crypto_stream/simon128192ctr/sse4
Compiler: icc
stream.c: stream.c(42): warning #266: function "ExpandKey" declared implicitly
stream.c: ExpandKey(K,rk,key);
stream.c: ^
stream.c:
stream.c: stream.c(55): warning #266: function "Encrypt" declared implicitly
stream.c: Encrypt(out,nonce,rk,key,128);
stream.c: ^
stream.c:
stream.c: stream.c(60): warning #266: function "Encrypt" declared implicitly
stream.c: Encrypt(out,nonce,rk,key,96);
stream.c: ^
stream.c:
stream.c: stream.c(65): warning #266: function "Encrypt" declared implicitly
stream.c: Encrypt(out,nonce,rk,key,64);
stream.c: ^
stream.c:
stream.c: stream.c(70): warning #266: function "Encrypt" declared implicitly
stream.c: Encrypt(out,nonce,rk,key,32);
stream.c: ^
stream.c:
stream.c: stream.c(75): warning #266: function "Encrypt" declared implicitly
stream.c: Encrypt(out,nonce,rk,key,16);
stream.c: ^
stream.c:
stream.c: stream.c(80): warning #266: function "Encrypt" declared implicitly
stream.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
icc sse4
icc -no-vec sse4
icc -xCORE-AVX2 -O2 -fomit-frame-pointer sse4
icc -xCORE-AVX2 -O3 -fomit-frame-pointer sse4

Compiler output

Implementation: crypto_stream/simon128192ctr/avx2
Compiler: icc
stream.c: stream.c(42): warning #266: function "ExpandKey" declared implicitly
stream.c: ExpandKey(K,rk,key);
stream.c: ^
stream.c:
stream.c: stream.c(55): warning #266: function "Encrypt" declared implicitly
stream.c: Encrypt(out,nonce,rk,key,320);
stream.c: ^
stream.c:
stream.c: stream.c(60): warning #266: function "Encrypt" declared implicitly
stream.c: Encrypt(out,nonce,rk,key,256);
stream.c: ^
stream.c:
stream.c: stream.c(65): warning #266: function "Encrypt" declared implicitly
stream.c: Encrypt(out,nonce,rk,key,192);
stream.c: ^
stream.c:
stream.c: stream.c(70): warning #266: function "Encrypt" declared implicitly
stream.c: Encrypt(out,nonce,rk,key,128);
stream.c: ^
stream.c:
stream.c: stream.c(75): warning #266: function "Encrypt" declared implicitly
stream.c: Encrypt(out,nonce,rk,key,64);
stream.c: ^
stream.c:
stream.c: stream.c(80): warning #266: function "Encrypt" declared implicitly
stream.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
icc avx2
icc -no-vec avx2
icc -xCORE-AVX2 -O2 -fomit-frame-pointer avx2
icc -xCORE-AVX2 -O3 -fomit-frame-pointer avx2