Implementation notes: amd64, sliver, crypto_aead/kiasueq128v1

Computer: sliver
Architecture: amd64
CPU ID: GenuineIntel-00040651-bfebfbff
SUPERCOP version: 20160731
Operation: crypto_aead
Primitive: kiasueq128v1
TimeImplementationCompilerBenchmark dateSUPERCOP version
27630optclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016072420160718
718338refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072420160718
754860refclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016072420160718
765870refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072420160718
803856refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072420160718
927462refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072420160718

Compiler output

Implementation: crypto_aead/kiasueq128v1/opt
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
kiasu.c: kiasu.c:579:15: warning: comparison of unsigned expression kiasu.c: if( c_len kiasu.c: ~~~~~ ^ ~
kiasu.c: 1 warning generated.
try.c: /tmp/try-anything-d8d545.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-d08656.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/kiasueq128v1/ref
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-b4049e.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-885aec.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/kiasueq128v1/bitslice
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /usr/bin/ld: crypto_aead_kiasueq128v1.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_kiasueq128v1.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/kiasueq128v1/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:45: error: incompatible type for argument 2 of 'assist128'
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: In function 'set_decryption_key':
kiasu.c: kiasu.c:62: error: incompatible type for argument 2 of 'assist128'
kiasu.c: kiasu.c:62: error: incompatible types in assignment
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: ...

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/kiasueq128v1/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccYmgQIZ.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//cceMf0D6.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/kiasueq128v1/bitslice
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /usr/bin/ld: crypto_aead_kiasueq128v1.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_kiasueq128v1.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/kiasueq128v1/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//cclHnvMx.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//ccTNWjT0.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/kiasueq128v1/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccsuzNE5.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//ccgG2fYj.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/kiasueq128v1/ref
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccp6qESK.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//ccs1Pjxw.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