Implementation notes: amd64, sliver, crypto_stream/simon128192ctr

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

Checksum failure

Implementation: crypto_stream/simon128192ctr/sse4
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
d106babb6664046a23caf78187ff26c2264de8da1280f67b6ac7bf2602196b01
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/simon128192ctr/sse4
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
stream.c: stream.c:42: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:55: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:165: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-8b8ddd.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/simon128192ctr/avx2
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
stream.c: stream.c:42: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:55: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:191: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-dac402.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-5adccb.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/simon128192ctr/avx2
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
stream.c: In file included from Simon128192AVX2.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_simon128192ctr_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:42: error: 'rk' undeclared (first use in this function)
stream.c: stream.c: At top level:
stream.c: stream.c:99: error: expected declaration specifiers or '...' before '__m256i'
stream.c: stream.c: In function 'Encrypt':
stream.c: stream.c:102: error: '__m256i' undeclared (first use in this function)
stream.c: stream.c:102: error: expected ';' before 'X'
stream.c: stream.c:122: error: 'X' undeclared (first use in this function)
stream.c: stream.c:123: error: 'Y' undeclared (first use in this function)
stream.c: stream.c:125: error: 'rk' undeclared (first use in this function)
stream.c: stream.c:147: error: expected expression before ')' token
stream.c: stream.c:148: error: expected expression before ')' token
stream.c: stream.c:148: error: expected expression before ')' token
stream.c: stream.c:149: error: expected expression before ')' token
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: ...

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/simon128192ctr/sse4
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
stream.c: In file included from Simon128192SSE4.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_simon128192ctr_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:42: error: 'rk' undeclared (first use in this function)
stream.c: stream.c: At top level:
stream.c: stream.c:89: error: expected declaration specifiers or '...' before '__m128i'
stream.c: stream.c: In function 'Encrypt':
stream.c: stream.c:92: error: '__m128i' undeclared (first use in this function)
stream.c: stream.c:92: error: expected ';' before 'X'
stream.c: stream.c:102: error: 'X' undeclared (first use in this function)
stream.c: stream.c:103: error: 'Y' undeclared (first use in this function)
stream.c: stream.c:105: error: 'rk' undeclared (first use in this function)
stream.c: stream.c:122: error: expected expression before ')' token
stream.c: stream.c:123: error: expected expression before ')' token
stream.c: stream.c:123: error: expected expression before ')' token
stream.c: stream.c:124: error: expected expression before ')' token
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: In function 'crypto_stream_simon128192ctr_sse4_xor':
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