Implementation notes: amd64, sliver, crypto_stream/speck128128ctr

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

Checksum failure

Implementation: crypto_stream/speck128128ctr/sse4
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
b8cc3452167b0bfa083997775f9c52440899a8ff3274bae7cba0a47962d8df6c
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/speck128128ctr/sse4
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
stream.c: stream.c:54: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:57: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:169: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-54ed73.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/speck128128ctr/avx2
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
stream.c: stream.c:54: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:57: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:195: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-7931df.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-fb82e8.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/speck128128ctr/avx2
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
stream.c: In file included from Speck128128AVX2.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_speck128128ctr_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:54: error: 'rk' undeclared (first use in this function)
stream.c: stream.c: At top level:
stream.c: stream.c:101: error: expected declaration specifiers or '...' before '__m256i'
stream.c: stream.c: In function 'Encrypt':
stream.c: stream.c:104: error: '__m256i' undeclared (first use in this function)
stream.c: stream.c:104: error: expected ';' before 'X'
stream.c: stream.c:124: error: 'X' undeclared (first use in this function)
stream.c: stream.c:125: error: 'Y' undeclared (first use in this function)
stream.c: stream.c:127: error: 'rk' undeclared (first use in this function)
stream.c: stream.c:149: error: expected expression before ')' token
stream.c: stream.c:150: error: expected expression before ')' token
stream.c: stream.c:150: error: expected expression before ')' token
stream.c: stream.c:151: error: expected expression before ')' token
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: ...

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/speck128128ctr/sse4
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
stream.c: In file included from Speck128128SSE4.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_speck128128ctr_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:54: error: 'rk' undeclared (first use in this function)
stream.c: stream.c: At top level:
stream.c: stream.c:91: error: expected declaration specifiers or '...' before '__m128i'
stream.c: stream.c: In function 'Encrypt':
stream.c: stream.c:94: error: '__m128i' undeclared (first use in this function)
stream.c: stream.c:94: error: expected ';' before 'X'
stream.c: stream.c:104: error: 'X' undeclared (first use in this function)
stream.c: stream.c:105: error: 'Y' undeclared (first use in this function)
stream.c: stream.c:107: error: 'rk' undeclared (first use in this function)
stream.c: stream.c:119: error: 'Z' undeclared (first use in this function)
stream.c: stream.c:124: error: expected expression before ')' token
stream.c: stream.c:125: error: expected expression before ')' token
stream.c: stream.c:125: error: expected expression before ')' token
stream.c: stream.c:126: error: expected expression before ')' token
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: ...

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