Implementation notes: x86, leaf, crypto_aead/aegis128

Computer: leaf
Architecture: x86
CPU ID: unknown CPU ID
SUPERCOP version: 20160731
Operation: crypto_aead
Primitive: aegis128
TimeImplementationCompilerBenchmark dateSUPERCOP version
204612refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072920160724
208852refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072920160724
233756refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072920160724
236972refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072920160724

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//ccYX58xF.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//ccCQixwJ.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//ccuDwi7i.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//cc1F3D7W.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//cctVJ8rf.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//ccxGFDe5.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//ccLcUvls.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//ccQeY5uF.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