Implementation notes: amd64, sliver, crypto_aead/aegis128l

Computer: sliver
Architecture: amd64
CPU ID: GenuineIntel-00040651-bfebfbff
SUPERCOP version: 20160731
Operation: crypto_aead
Primitive: aegis128l
TimeImplementationCompilerBenchmark dateSUPERCOP version
3822aesnicclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016072420160718
4140aesnibclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016072420160718
5004aesniaclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016072420160718
74688refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072420160718
102480refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072420160718
111648refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072420160718
115674refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072420160718

Compiler output

Implementation: crypto_aead/aegis128l/ref
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-0f545c.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: crypto_aead_aegis128l.a(ecrypt.o): In function `crypto_aead_aegis128l_ref_encrypt':
try.c: ecrypt.c:(.text+0x...): undefined reference to `aegis128L_enc_aut_step'
try.c: ecrypt.c:(.text+0x...): undefined reference to `aegis128L_enc_aut_step'
try.c: ecrypt.c:(.text+0x...): undefined reference to `aegis128L_enc_aut_step'
try.c: ecrypt.c:(.text+0x...): undefined reference to `aegis128L_enc_aut_step'
try.c: crypto_aead_aegis128l.a(ecrypt.o): In function `crypto_aead_aegis128l_ref_decrypt':
try.c: ecrypt.c:(.text+0x...): undefined reference to `aegis128L_enc_aut_step'
try.c: crypto_aead_aegis128l.a(ecrypt.o):ecrypt.c:(.text+0x...): more undefined references to `aegis128L_enc_aut_step' follow
try.c: crypto_aead_aegis128l.a(ecrypt.o): In function `crypto_aead_aegis128l_ref_decrypt':
try.c: ecrypt.c:(.text+0x...): undefined reference to `aegis128L_dec_aut_step'
try.c: ecrypt.c:(.text+0x...): undefined reference to `aegis128L_dec_aut_step'
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 ref

Compiler output

Implementation: crypto_aead/aegis128l/aesnic
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-5c0eae.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-3ce43a.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 aesnic

Compiler output

Implementation: crypto_aead/aegis128l/aesnib
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-87574d.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-1f16d4.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 aesnib

Compiler output

Implementation: crypto_aead/aegis128l/aesnia
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-c7074d.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-9369b5.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 aesnia

Compiler output

Implementation: crypto_aead/aegis128l/aesnia
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.c: encrypt.c:4:25: error: immintrin.h: No such file or directory
encrypt.c: encrypt.c:5:25: error: wmmintrin.h: No such file or directory
encrypt.c: encrypt.c:14: error: expected declaration specifiers or '...' before '__m128i'
encrypt.c: encrypt.c: In function 'aegis128L_initialization':
encrypt.c: encrypt.c:18: error: '__m128i' undeclared (first use in this function)
encrypt.c: encrypt.c:18: error: (Each undeclared identifier is reported only once
encrypt.c: encrypt.c:18: error: for each function it appears in.)
encrypt.c: encrypt.c:18: error: expected ';' before 'tmp'
encrypt.c: encrypt.c:19: error: expected ';' before 'keytmp'
encrypt.c: encrypt.c:20: error: expected ';' before 'ivtmp'
encrypt.c: encrypt.c:22: error: 'state' undeclared (first use in this function)
encrypt.c: encrypt.c:22: error: 'keytmp' undeclared (first use in this function)
encrypt.c: encrypt.c:22: error: 'ivtmp' 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:50: error: expected declaration specifiers or '...' before '__m128i'
encrypt.c: encrypt.c: In function 'aegis128L_tag_generation':
encrypt.c: encrypt.c:54: error: '__m128i' undeclared (first use in this function)
encrypt.c: encrypt.c:54: error: expected ';' before 'tmp'
encrypt.c: encrypt.c:55: error: expected ';' before 'msgtmp'
encrypt.c: encrypt.c:64: error: 'msgtmp' undeclared (first use in this function)
encrypt.c: encrypt.c:64: error: expected expression before ')' token
encrypt.c: encrypt.c:66: error: 'state' undeclared (first use in this function)
encrypt.c: encrypt.c:70: error: 'tmp' undeclared (first use in this function)
encrypt.c: encrypt.c:92: error: expected expression before ')' token
encrypt.c: ...

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

Compiler output

Implementation: crypto_aead/aegis128l/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccaV8hDB.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//ccNPpxHi.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/aegis128l/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//cctcFLGT.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//ccCau4f5.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/aegis128l/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccpGakew.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//ccqVqBWR.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/aegis128l/ref
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccICYczG.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//ccuvUzqC.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