Implementation notes: amd64, river, crypto_aead/silverv1

Computer: river
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20160806
Operation: crypto_aead
Primitive: silverv1
TimeImplementationCompilerBenchmark dateSUPERCOP version
100620littleendoptnotaesnigcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016083120160806
101588littleendoptnotaesnigcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016083120160806
111548littleendoptnotaesnigcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016083120160806
122408littleendoptnotaesnigcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016083120160806
131148anotherlittleendgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016083120160806
133260anotherlittleendgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016083120160806
137396anotherlittleendgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016083120160806
149004anotherlittleendgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016083120160806
518280refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016083120160806
536752refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016083120160806
551644refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016083120160806
879836refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016083120160806

Compiler output

Implementation: crypto_aead/silverv1/aesnioptimized
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.c: In file included from encrypt.c:36:
encrypt.c: macs4AESNI.h:6:23: error: wmmintrin.h: No such file or directory
encrypt.c: In file included from encrypt.c:36:
encrypt.c: macs4AESNI.h:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'w128'
encrypt.c: macs4AESNI.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'aes_128_key_expansion'
encrypt.c: macs4AESNI.h:31: error: expected ')' before 'userkey'
encrypt.c: macs4AESNI.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'AESEXPANDandENCRYPT'
encrypt.c: macs4AESNI.h:203: error: expected ')' before '*' token
encrypt.c: macs4AESNI.h:222: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'TAES_DECRYPT'
encrypt.c: macs4AESNI.h:280: error: expected ')' before '*' token
encrypt.c: encrypt.c:50: error: expected specifier-qualifier-list before '__m128i'
encrypt.c: encrypt.c:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'TAG'
encrypt.c: encrypt.c:87: error: expected declaration specifiers or '...' before 'w128'
encrypt.c: encrypt.c:87: error: expected declaration specifiers or '...' before 'w128'
encrypt.c: encrypt.c: In function 'Obtain_sessionrkeys':
encrypt.c: encrypt.c:89: error: 'w128' undeclared (first use in this function)
encrypt.c: encrypt.c:89: error: (Each undeclared identifier is reported only once
encrypt.c: encrypt.c:89: error: for each function it appears in.)
encrypt.c: encrypt.c:89: error: expected ';' before 'tempkeys'
encrypt.c: encrypt.c:91: error: '__m128i' undeclared (first use in this function)
encrypt.c: encrypt.c:91: error: 'kv' undeclared (first use in this function)
encrypt.c: encrypt.c:91: error: expected expression before ')' token
encrypt.c: encrypt.c:92: error: 'npubv' undeclared (first use in this function)
encrypt.c: encrypt.c:92: error: expected expression before ')' token
encrypt.c: encrypt.c:93: error: expected ';' before 'userkey'
encrypt.c: ...

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

Compiler output

Implementation: crypto_aead/silverv1/bigendoptimized
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.c: encrypt.c:28:2: error: #error "This code produces standard results only on BE machines"

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

Compiler output

Implementation: crypto_aead/silverv1/littleendoptnotaesni
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccC5VGfD.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//cckTSZx8.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 littleendoptnotaesni

Compiler output

Implementation: crypto_aead/silverv1/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccMxIHhq.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//ccrJ5nPj.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/silverv1/anotherlittleend
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccqO1SHL.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//ccuFJUAw.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 anotherlittleend

Compiler output

Implementation: crypto_aead/silverv1/anotherlittleend
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//cc9HEJLG.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//cctsRBhh.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 anotherlittleend

Compiler output

Implementation: crypto_aead/silverv1/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccYIH1Kq.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//ccPI43jy.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/silverv1/littleendoptnotaesni
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccgGQJzM.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//ccMyTjnH.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 littleendoptnotaesni

Compiler output

Implementation: crypto_aead/silverv1/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccNpVNna.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//ccTzgpSw.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/silverv1/anotherlittleend
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccZHQ5pr.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//ccvkECFG.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 anotherlittleend

Compiler output

Implementation: crypto_aead/silverv1/littleendoptnotaesni
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccZddeep.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//ccNUNPHv.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 littleendoptnotaesni

Compiler output

Implementation: crypto_aead/silverv1/littleendoptnotaesni
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccI8erGP.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//ccbvGGYx.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 littleendoptnotaesni

Compiler output

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

Compiler output

Implementation: crypto_aead/silverv1/anotherlittleend
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//cclfHZmm.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//ccZe39hk.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 anotherlittleend