Implementation notes: amd64, river, crypto_aead/aes128gcmv1

Computer: river
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20160806
Operation: crypto_aead
Primitive: aes128gcmv1
TimeImplementationCompilerBenchmark dateSUPERCOP version
38888opensslgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016083120160806
38900opensslgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016083120160806
38940opensslgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016083120160806
39840opensslgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016083120160806
21737268refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016083120160806
21753904refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016083120160806
21933752refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016083120160806
22929248refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016083120160806

Compiler output

Implementation: crypto_aead/aes128gcmv1/dolbeau/aesenc-int
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
aesenc-int.c: aesenc-int.c:11:23: error: immintrin.h: No such file or directory
aesenc-int.c: aesenc-int.c:41: error: expected declaration specifiers or '...' before '__m128i'
aesenc-int.c: aesenc-int.c: In function 'aesni_key128_expand':
aesenc-int.c: aesenc-int.c:42: error: '__m128i' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c:42: error: (Each undeclared identifier is reported only once
aesenc-int.c: aesenc-int.c:42: error: for each function it appears in.)
aesenc-int.c: aesenc-int.c:42: error: expected ';' before 'key0'
aesenc-int.c: aesenc-int.c:43: error: expected ';' before 'temp0'
aesenc-int.c: aesenc-int.c:46: error: 'temp0' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c:46: error: 'key0' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c:60: error: 'temp1' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c:60: error: 'rkeys' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c:60: error: 'temp4' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c: At top level:
aesenc-int.c: aesenc-int.c:74: error: expected declaration specifiers or '...' before '__m128i'
aesenc-int.c: aesenc-int.c: In function 'aesni_encrypt1':
aesenc-int.c: aesenc-int.c:75: error: '__m128i' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c:75: error: expected ';' before 'nv'
aesenc-int.c: aesenc-int.c:77: error: expected ';' before 'temp'
aesenc-int.c: aesenc-int.c:80: error: 'temp' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c:80: error: 'rkeys' undeclared (first use in this function)
aesenc-int.c: aesenc-int.c:83: error: expected expression before ')' token
aesenc-int.c: aesenc-int.c: At top level:
aesenc-int.c: aesenc-int.c:164: error: expected ';', ',' or ')' before 'rkeys'
aesenc-int.c: aesenc-int.c:165: error: expected ';', ',' or ')' before 'rkeys'
aesenc-int.c: ...

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

Compiler output

Implementation: crypto_aead/aes128gcmv1/openssl
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccZaN8G6.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//cc8EQ5UO.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 openssl

Compiler output

Implementation: crypto_aead/aes128gcmv1/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccy5lxVE.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//ccNI7Hyu.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/aes128gcmv1/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//cc7QSfzB.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//cc74JhLc.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/aes128gcmv1/openssl
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccPN8f7a.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//ccuMA827.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 openssl

Compiler output

Implementation: crypto_aead/aes128gcmv1/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccWKG0o2.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//ccDRUwD0.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/aes128gcmv1/openssl
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccYAtz6D.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//ccH6ZfQx.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 openssl

Compiler output

Implementation: crypto_aead/aes128gcmv1/openssl
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccN0stgG.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//cc2gchv0.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 openssl

Compiler output

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