Implementation notes: amd64, sliver, crypto_aead/aegis128

Computer: sliver
Architecture: amd64
CPU ID: GenuineIntel-00040651-bfebfbff
SUPERCOP version: 20160731
Operation: crypto_aead
Primitive: aegis128
TimeImplementationCompilerBenchmark dateSUPERCOP version
6180aesniclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016072420160718
83502refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072420160718
120300refclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016072420160718
122976refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072420160718
129864refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072420160718
135228refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072420160718

Compiler output

Implementation: crypto_aead/aegis128/aesni
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-093d77.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-4242dd.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 aesni

Compiler output

Implementation: crypto_aead/aegis128/ref
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-eb95be.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-59d1a0.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/aegis128/aesni
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.c: encrypt.c:4:24: error: immintrin.h: No such file or directory
encrypt.c: encrypt.c:5:24: error: wmmintrin.h: No such file or directory
encrypt.c: encrypt.c:15: error: expected declaration specifiers or '...' before '__m128i'
encrypt.c: encrypt.c: In function 'aegis128_initialization':
encrypt.c: encrypt.c:19: error: '__m128i' undeclared (first use in this function)
encrypt.c: encrypt.c:19: error: (Each undeclared identifier is reported only once
encrypt.c: encrypt.c:19: error: for each function it appears in.)
encrypt.c: encrypt.c:19: error: expected ';' before 'tmp'
encrypt.c: encrypt.c:20: error: expected ';' before 'keytmp'
encrypt.c: encrypt.c:21: error: expected ';' before 'ivtmp'
encrypt.c: encrypt.c:23: error: 'state' undeclared (first use in this function)
encrypt.c: encrypt.c:23: error: 'ivtmp' undeclared (first use in this function)
encrypt.c: encrypt.c:26: error: 'keytmp' undeclared (first use in this function)
encrypt.c: encrypt.c:33: error: 'tmp' undeclared (first use in this function)
encrypt.c: encrypt.c: At top level:
encrypt.c: encrypt.c:48: error: expected declaration specifiers or '...' before '__m128i'
encrypt.c: encrypt.c: In function 'aegis128_tag_generation':
encrypt.c: encrypt.c:52: error: '__m128i' undeclared (first use in this function)
encrypt.c: encrypt.c:52: error: expected ';' before 'tmp'
encrypt.c: encrypt.c:53: error: expected ';' before 'msgtmp'
encrypt.c: encrypt.c:60: error: 'msgtmp' undeclared (first use in this function)
encrypt.c: encrypt.c:60: error: expected expression before ')' token
encrypt.c: encrypt.c:62: error: 'state' undeclared (first use in this function)
encrypt.c: encrypt.c:66: error: 'tmp' undeclared (first use in this function)
encrypt.c: encrypt.c:82: error: expected expression before ')' token
encrypt.c: ...

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

Compiler output

Implementation: crypto_aead/aegis128/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//cchx0hNU.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//ccq1zBhu.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/aegis128/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccjZ4T6M.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//ccfnQI6x.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/aegis128/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccX7VjYc.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//cc9vPcBo.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/aegis128/ref
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccwlXVK2.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//ccdYlzg8.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