Implementation notes: amd64, h4atom, crypto_stream/speck6496ctr

Computer: h4atom
Architecture: amd64
CPU ID: GenuineIntel-000106ca-bfe9fbff
SUPERCOP version: 20160806
Operation: crypto_stream
Primitive: speck6496ctr
TimeImplementationCompilerBenchmark dateSUPERCOP version
18992sse4gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016081220160806
20000sse4gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016081220160806
20656sse4gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016081220160806
22056sse4gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016081220160806

Checksum failure

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

Compiler output

Implementation: crypto_stream/speck6496ctr/sse4
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
stream.c: stream.c:55: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:58: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:187: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: 1, namely:
CompilerImplementations
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments sse4

Compiler output

Implementation: crypto_stream/speck6496ctr/avx2
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
stream.c: stream.c:56: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:59: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:145:3: error: always_inline function '_mm256_set_epi32' requires target feature 'xsave', but would be inlined into function 'Encrypt' that is compiled without support for 'xsave'
stream.c: SET1(X[0],nonce[1]);
stream.c: ^
stream.c: ./Intrinsics_AVX2_64block.h:22:22: note: expanded from macro 'SET1'
stream.c: #define SET1(X,c) (X=SET(c,c,c,c,c,c,c,c))
stream.c: ^
stream.c: ./Intrinsics_AVX2_64block.h:21:13: note: expanded from macro 'SET'
stream.c: #define SET _mm256_set_epi32
stream.c: ^
stream.c: stream.c:146:3: error: always_inline function '_mm256_set_epi32' requires target feature 'xsave', but would be inlined into function 'Encrypt' that is compiled without support for 'xsave'
stream.c: SET8(Y[0],nonce[0]);
stream.c: ^
stream.c: ./Intrinsics_AVX2_64block.h:23:22: note: expanded from macro 'SET8'
stream.c: #define SET8(X,c) (X=SET(c+7,c+6,c+3,c+2,c+5,c+4,c+1,c), c+=8)
stream.c: ^
stream.c: ./Intrinsics_AVX2_64block.h:21:13: note: expanded from macro 'SET'
stream.c: #define SET _mm256_set_epi32
stream.c: ^
stream.c: stream.c:148:21: error: always_inline function '_mm256_xor_si256' requires target feature 'xsave', but would be inlined into function 'Encrypt' that is compiled without support for 'xsave'
stream.c: ...

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

Compiler output

Implementation: crypto_stream/speck6496ctr/avx2
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
stream.c: stream.c: In function 'crypto_stream_speck6496ctr_avx2':
stream.c: stream.c:56:3: warning: implicit declaration of function 'ExpandKey' [-Wimplicit-function-declaration]
stream.c: ExpandKey(K,rk,key);
stream.c: ^
stream.c: stream.c:59: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_speck6496ctr_avx2_xor':
stream.c: stream.c:216: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 Speck6496AVX2.h:17:0,
stream.c: from stream.c:20:
stream.c: stream.c: In function 'Encrypt':
stream.c: Intrinsics_AVX2_64block.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,c,c,c,c))
stream.c: ^
stream.c: stream.c:145:3: note: in expansion of macro 'SET1'
stream.c: SET1(X[0],nonce[1]);
stream.c: ^
stream.c: In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
stream.c: from /usr/lib/gcc/x86_64-linux-gnu/5/include/x86intrin.h:46,
stream.c: from Intrinsics_AVX2_64block.h:5,
stream.c: from Speck6496AVX2.h:17,
stream.c: from stream.c:20:
stream.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
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/speck6496ctr/sse4
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
stream.c: stream.c: In function 'crypto_stream_speck6496ctr_sse4':
stream.c: stream.c:55:3: warning: implicit declaration of function 'ExpandKey' [-Wimplicit-function-declaration]
stream.c: ExpandKey(K,rk,key);
stream.c: ^
stream.c: stream.c:58: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_speck6496ctr_sse4_xor':
stream.c: stream.c:187: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: 4, namely:
CompilerImplementations
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