Implementation notes: amd64, sliver, crypto_stream/speck128192ctr

Computer: sliver
Architecture: amd64
CPU ID: GenuineIntel-00040651-bfebfbff
SUPERCOP version: 20160731
Operation: crypto_stream
Primitive: speck128192ctr
TimeImplementationCompilerBenchmark dateSUPERCOP version
6408avx2clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016072420160718

Checksum failure

Implementation: crypto_stream/speck128192ctr/sse4
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
6e8efa917670c0457baf309f591b04c0a83e97cc61993ce67cc2bad7d0d931f5
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/speck128192ctr/sse4
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,128);
stream.c: ^
stream.c: stream.c:173: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.
try.c: /tmp/try-anything-a05731.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?

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/speck128192ctr/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:199: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.
try.c: /tmp/try-anything-f75713.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?
try.c: /tmp/try-anything-ec3b47.o: In function `alignedcalloc':
try.c: try-anything.c:(.text+0x...): warning: warning: random() may return deterministic values, is that what you want?

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/speck128192ctr/avx2
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
stream.c: In file included from Speck128192AVX2.h:17,
stream.c: from stream.c:20:
stream.c: Intrinsics_AVX2_128block.h:5:23: error: x86intrin.h: No such file or directory
stream.c: stream.c: In function 'crypto_stream_speck128192ctr_avx2':
stream.c: stream.c:33: error: '__m256i' undeclared (first use in this function)
stream.c: stream.c:33: error: (Each undeclared identifier is reported only once
stream.c: stream.c:33: error: for each function it appears in.)
stream.c: stream.c:33: error: expected ';' before 'rk'
stream.c: stream.c:56: error: 'rk' undeclared (first use in this function)
stream.c: stream.c: At top level:
stream.c: stream.c:103: error: expected declaration specifiers or '...' before '__m256i'
stream.c: stream.c: In function 'Encrypt':
stream.c: stream.c:106: error: '__m256i' undeclared (first use in this function)
stream.c: stream.c:106: error: expected ';' before 'X'
stream.c: stream.c:126: error: 'X' undeclared (first use in this function)
stream.c: stream.c:127: error: 'Y' undeclared (first use in this function)
stream.c: stream.c:129: error: 'rk' undeclared (first use in this function)
stream.c: stream.c:151: error: expected expression before ')' token
stream.c: stream.c:152: error: expected expression before ')' token
stream.c: stream.c:152: error: expected expression before ')' token
stream.c: stream.c:153: error: expected expression before ')' token
stream.c: stream.c:153: error: expected expression before ')' token
stream.c: stream.c:154: error: expected expression before ')' token
stream.c: stream.c:154: error: expected expression before ')' token
stream.c: stream.c:155: error: expected expression before ')' token
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/speck128192ctr/sse4
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
stream.c: In file included from Speck128192SSE4.h:17,
stream.c: from stream.c:20:
stream.c: Intrinsics_SSE4_128block.h:5:23: error: x86intrin.h: No such file or directory
stream.c: stream.c: In function 'crypto_stream_speck128192ctr_sse4':
stream.c: stream.c:33: error: '__m128i' undeclared (first use in this function)
stream.c: stream.c:33: error: (Each undeclared identifier is reported only once
stream.c: stream.c:33: error: for each function it appears in.)
stream.c: stream.c:33: error: expected ';' before 'rk'
stream.c: stream.c:56: error: 'rk' undeclared (first use in this function)
stream.c: stream.c: At top level:
stream.c: stream.c:93: error: expected declaration specifiers or '...' before '__m128i'
stream.c: stream.c: In function 'Encrypt':
stream.c: stream.c:96: error: '__m128i' undeclared (first use in this function)
stream.c: stream.c:96: error: expected ';' before 'X'
stream.c: stream.c:106: error: 'X' undeclared (first use in this function)
stream.c: stream.c:107: error: 'Y' undeclared (first use in this function)
stream.c: stream.c:109: error: 'rk' undeclared (first use in this function)
stream.c: stream.c:121: error: 'Z' undeclared (first use in this function)
stream.c: stream.c:126: error: expected expression before ')' token
stream.c: stream.c:127: error: expected expression before ')' token
stream.c: stream.c:127: error: expected expression before ')' token
stream.c: stream.c:128: error: expected expression before ')' token
stream.c: stream.c:128: error: expected expression before ')' token
stream.c: stream.c:129: error: expected expression before ')' token
stream.c: stream.c:129: error: expected expression before ')' token
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