Implementation notes: amd64, sliver, crypto_aead/kiasuneq128v1

Computer: sliver
Architecture: amd64
CPU ID: GenuineIntel-00040651-bfebfbff
SUPERCOP version: 20160731
Operation: crypto_aead
Primitive: kiasuneq128v1
TimeImplementationCompilerBenchmark dateSUPERCOP version
14040optclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016072420160718
451788refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072420160718
460242refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072420160718
489492refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072420160718
528906refclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016072420160718
595410refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072420160718

Compiler output

Implementation: crypto_aead/kiasuneq128v1/opt
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-2a6958.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-dff999.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 opt

Compiler output

Implementation: crypto_aead/kiasuneq128v1/ref
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-7d8308.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-4a85fa.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 ref

Compiler output

Implementation: crypto_aead/kiasuneq128v1/bitslice
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /usr/bin/ld: crypto_aead_kiasuneq128v1.a(aes_tweaked.o): relocation R_X86_64_32S against `M0' can not be used when making a shared object; recompile with -fPIC
try.c: crypto_aead_kiasuneq128v1.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 bitslice

Compiler output

Implementation: crypto_aead/kiasuneq128v1/opt
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
kiasu.c: kiasu.c:28:74: error: wmmintrin.h: No such file or directory
kiasu.c: kiasu.c:29:74: error: tmmintrin.h: No such file or directory
kiasu.c: kiasu.c: In function 'set_encryption_key':
kiasu.c: kiasu.c:46: error: incompatible type for argument 2 of 'assist128'
kiasu.c: kiasu.c:47: error: incompatible type for argument 2 of 'assist128'
kiasu.c: kiasu.c:48: error: incompatible type for argument 2 of 'assist128'
kiasu.c: kiasu.c:49: error: incompatible type for argument 2 of 'assist128'
kiasu.c: kiasu.c:50: error: incompatible type for argument 2 of 'assist128'
kiasu.c: kiasu.c:51: error: incompatible type for argument 2 of 'assist128'
kiasu.c: kiasu.c:52: error: incompatible type for argument 2 of 'assist128'
kiasu.c: kiasu.c:53: error: incompatible type for argument 2 of 'assist128'
kiasu.c: kiasu.c:54: error: incompatible type for argument 2 of 'assist128'
kiasu.c: kiasu.c:55: error: incompatible type for argument 2 of 'assist128'
kiasu.c: kiasu.c: In function 'set_decryption_key':
kiasu.c: kiasu.c:63: error: incompatible type for argument 2 of 'assist128'
kiasu.c: kiasu.c:63: error: incompatible types in assignment
kiasu.c: kiasu.c:64: error: incompatible type for argument 2 of 'assist128'
kiasu.c: kiasu.c:64: error: incompatible types in assignment
kiasu.c: kiasu.c:65: error: incompatible type for argument 2 of 'assist128'
kiasu.c: kiasu.c:65: error: incompatible types in assignment
kiasu.c: kiasu.c:66: error: incompatible type for argument 2 of 'assist128'
kiasu.c: kiasu.c:66: error: incompatible types in assignment
kiasu.c: kiasu.c:67: error: incompatible type for argument 2 of 'assist128'
kiasu.c: kiasu.c:67: error: incompatible types in assignment
kiasu.c: kiasu.c:68: error: incompatible type for argument 2 of 'assist128'
kiasu.c: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv opt
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv opt
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv opt
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv opt

Compiler output

Implementation: crypto_aead/kiasuneq128v1/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//cc287gpg.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//ccA8bxqW.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 ref

Compiler output

Implementation: crypto_aead/kiasuneq128v1/bitslice
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /usr/bin/ld: crypto_aead_kiasuneq128v1.a(aes_tweaked.o): relocation R_X86_64_32S against `M0' can not be used when making a shared object; recompile with -fPIC
try.c: crypto_aead_kiasuneq128v1.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 bitslice
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv bitslice
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv bitslice
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv bitslice

Compiler output

Implementation: crypto_aead/kiasuneq128v1/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccxDE4de.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//ccj62hzH.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 ref

Compiler output

Implementation: crypto_aead/kiasuneq128v1/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccY1jmOH.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//cca2Qq4h.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 ref

Compiler output

Implementation: crypto_aead/kiasuneq128v1/ref
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccrhUKqn.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//ccyi5YE5.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 ref