Implementation notes: amd64, sliver, crypto_stream/lexv2

Computer: sliver
Architecture: amd64
CPU ID: GenuineIntel-00040651-bfebfbff
SUPERCOP version: 20160731
Operation: crypto_stream
Primitive: lexv2
TimeImplementationCompilerBenchmark dateSUPERCOP version
21300e/v2/refclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016072420160718
23106e/v2/refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072420160718
24546e/v2/refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072420160718
24810e/v2/refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072420160718
29856e/v2/refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072420160718

Compiler output

Implementation: crypto_stream/lexv2/e/v2/ref
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
lex.c: In file included from lex.c:1:
lex.c: ./e/lex.c:685:9: warning: array index 10 is past the end of the array (which contains 10 elements) [-Warray-bounds]
lex.c: ctx->gt;ks[10] = (t0 & 0xFF00FF00) ^ ((t2 & 0xFF00FF00)>gt;>gt;8); /* Leak for odd rounds */
lex.c: ^ ~~
lex.c: ./e/ecrypt-sync.h:65:3: note: array 'ks' declared here
lex.c: u32 ks[NUMWORDS]; /* Keystream words collected from leaks */
lex.c: ^
lex.c: In file included from lex.c:1:
lex.c: ./e/lex.c:692:6: warning: array index 11 is past the end of the array (which contains 10 elements) [-Warray-bounds]
lex.c: ctx->gt;ks[11] = ((s0 & 0xFF00FF) lex.c: ^ ~~
lex.c: ./e/ecrypt-sync.h:65:3: note: array 'ks' declared here
lex.c: u32 ks[NUMWORDS]; /* Keystream words collected from leaks */
lex.c: ^
lex.c: In file included from lex.c:1:
lex.c: ./e/lex.c:698:13: warning: array index 12 is past the end of the array (which contains 10 elements) [-Warray-bounds]
lex.c: ctx->gt;ks[12] = (t0 & 0xFF00FF00) ^ ((t2 & 0xFF00FF00)>gt;>gt;8); /* Leak for odd rounds */
lex.c: ^ ~~
lex.c: ./e/ecrypt-sync.h:65:3: note: array 'ks' declared here
lex.c: u32 ks[NUMWORDS]; /* Keystream words collected from leaks */
lex.c: ^
lex.c: 3 warnings generated.
try.c: /tmp/try-anything-64c88d.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-f733ff.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 e/v2/ref

Compiler output

Implementation: crypto_stream/lexv2/e/v2/schwabe/amd64-1
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /usr/bin/ld: crypto_stream_lexv2.a(ECRYPT_process_bytes.o): relocation R_X86_64_32S against `aes_constants' can not be used when making a shared object; recompile with -fPIC
try.c: crypto_stream_lexv2.a: could not read symbols: Bad value
try.c: clang-3.5: error: linker command failed with exit code 1 (use -v to see invocation)

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

Compiler output

Implementation: crypto_stream/lexv2/e/v2/schwabe/amd64-2
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /usr/bin/ld: crypto_stream_lexv2.a(lex.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
try.c: crypto_stream_lexv2.a: could not read symbols: Bad value
try.c: clang-3.5: error: linker command failed with exit code 1 (use -v to see invocation)

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments e/v2/schwabe/amd64-2

Compiler output

Implementation: crypto_stream/lexv2/e/v2/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccYJmYiT.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//ccyUfGDQ.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
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv e/v2/ref

Compiler output

Implementation: crypto_stream/lexv2/e/v2/schwabe/amd64-1
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /usr/bin/ld: crypto_stream_lexv2.a(ECRYPT_process_bytes.o): relocation R_X86_64_32S against `aes_constants' can not be used when making a shared object; recompile with -fPIC
try.c: crypto_stream_lexv2.a: could not read symbols: Bad value
try.c: collect2: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv e/v2/schwabe/amd64-1
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv e/v2/schwabe/amd64-1
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv e/v2/schwabe/amd64-1
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv e/v2/schwabe/amd64-1

Compiler output

Implementation: crypto_stream/lexv2/e/v2/schwabe/amd64-2
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /usr/bin/ld: crypto_stream_lexv2.a(lex.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
try.c: crypto_stream_lexv2.a: could not read symbols: Bad value
try.c: collect2: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv e/v2/schwabe/amd64-2
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv e/v2/schwabe/amd64-2
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv e/v2/schwabe/amd64-2
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv e/v2/schwabe/amd64-2

Compiler output

Implementation: crypto_stream/lexv2/e/v2/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccFOQ43P.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//ccG4oVV7.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
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv e/v2/ref

Compiler output

Implementation: crypto_stream/lexv2/e/v2/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccd8QCwd.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//cccLZkgI.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
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv e/v2/ref

Compiler output

Implementation: crypto_stream/lexv2/e/v2/ref
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//cciROC3X.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//ccyOWxgo.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
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv e/v2/ref