Implementation notes: amd64, sliver, crypto_stream/speck6496ctr

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

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.
try.c: /tmp/try-anything-5be464.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/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:216: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-990c1f.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-8e06b5.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/speck6496ctr/avx2
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
stream.c: In file included from Speck6496AVX2.h:17,
stream.c: from stream.c:20:
stream.c: Intrinsics_AVX2_64block.h:5:23: error: x86intrin.h: No such file or directory
stream.c: stream.c: In function 'crypto_stream_speck6496ctr_avx2':
stream.c: stream.c:34: error: '__m256i' undeclared (first use in this function)
stream.c: stream.c:34: error: (Each undeclared identifier is reported only once
stream.c: stream.c:34: error: for each function it appears in.)
stream.c: stream.c:34: 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:107: error: expected declaration specifiers or '...' before '__m256i'
stream.c: stream.c: In function 'Encrypt':
stream.c: stream.c:110: error: '__m256i' undeclared (first use in this function)
stream.c: stream.c:110: error: expected ';' before 'X'
stream.c: stream.c:145: error: 'X' undeclared (first use in this function)
stream.c: stream.c:146: error: 'Y' undeclared (first use in this function)
stream.c: stream.c:148: error: 'rk' undeclared (first use in this function)
stream.c: stream.c:170: error: expected expression before ')' token
stream.c: stream.c:171: error: expected expression before ')' token
stream.c: stream.c:171: error: expected expression before ')' token
stream.c: stream.c:172: error: expected expression before ')' token
stream.c: stream.c:172: error: expected expression before ')' token
stream.c: stream.c:173: error: expected expression before ')' token
stream.c: stream.c:173: error: expected expression before ')' token
stream.c: stream.c:174: 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/speck6496ctr/sse4
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
stream.c: In file included from Speck6496SSE4.h:17,
stream.c: from stream.c:20:
stream.c: Intrinsics_SSE4_64block.h:5:23: error: x86intrin.h: No such file or directory
stream.c: stream.c: In function 'crypto_stream_speck6496ctr_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:55: error: 'rk' undeclared (first use in this function)
stream.c: stream.c: At top level:
stream.c: stream.c:97: error: expected declaration specifiers or '...' before '__m128i'
stream.c: stream.c: In function 'Encrypt':
stream.c: stream.c:100: error: '__m128i' undeclared (first use in this function)
stream.c: stream.c:100: error: expected ';' before 'X'
stream.c: stream.c:121: error: 'X' undeclared (first use in this function)
stream.c: stream.c:122: error: 'Y' undeclared (first use in this function)
stream.c: stream.c:124: error: 'rk' undeclared (first use in this function)
stream.c: stream.c:136: error: 'Z' undeclared (first use in this function)
stream.c: stream.c:141: error: expected expression before ')' token
stream.c: stream.c:142: error: expected expression before ')' token
stream.c: stream.c:142: error: expected expression before ')' token
stream.c: stream.c:143: error: expected expression before ')' token
stream.c: stream.c:143: error: expected expression before ')' token
stream.c: stream.c:144: error: expected expression before ')' token
stream.c: stream.c:144: 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