Implementation notes: x86, leaf, crypto_aead/silverv1

Computer: leaf
Architecture: x86
CPU ID: unknown CPU ID
SUPERCOP version: 20160731
Operation: crypto_aead
Primitive: silverv1
TimeImplementationCompilerBenchmark dateSUPERCOP version
183508littleendoptnotaesnigcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072920160724
253940littleendoptnotaesnigcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072920160724
258892anotherlittleendgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072920160724
297032littleendoptnotaesnigcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072920160724
343636anotherlittleendgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072920160724
349696littleendoptnotaesnigcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072920160724
355420anotherlittleendgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072920160724
443208anotherlittleendgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072920160724
1225328refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072920160724
1625900refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072920160724
1659420refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072920160724
2183092refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072920160724

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//cc8VLHQT.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//ccQrz6n9.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//ccGXr2Lc.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//ccP5riZL.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//ccYcKCK4.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//ccemDLor.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/littleendoptnotaesni
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccLjjIJx.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//ccdNbGfN.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/anotherlittleend
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccSqoLmM.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//ccrplBMb.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//cciXxl5s.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//cca7gI1b.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/anotherlittleend
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//cc1e3nWl.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//cczWG4qQ.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/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//cc8JgBnb.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//cc0yuYeK.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/littleendoptnotaesni
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccpFr8lf.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//ccna3WQh.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//ccXZNx06.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//ccfQt0XI.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//ccZBvWhY.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//ccZ7ApSJ.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//ccp3BO9d.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//ccMXIKpW.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