Implementation notes: amd64, river, crypto_aead/aeadaes128ocbtaglen128v1

Computer: river
Architecture: amd64
CPU ID: GenuineIntel-000206a7-bfebfbff
SUPERCOP version: 20160806
Operation: crypto_aead
Primitive: aeadaes128ocbtaglen128v1
TimeImplementationCompilerBenchmark dateSUPERCOP version
299792refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016083120160806
304216refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016083120160806
316632refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016083120160806
317640refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016083120160806

Compiler output

Implementation: crypto_aead/aeadaes128ocbtaglen128v1/dolbeau/aesenc-int
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.c: encrypt.c:45:23: error: immintrin.h: No such file or directory
encrypt.c: encrypt.c:73: error: expected declaration specifiers or '...' before '__m128i'
encrypt.c: encrypt.c: In function 'aes128ni_setkey_encrypt':
encrypt.c: encrypt.c:74: error: '__m128i' undeclared (first use in this function)
encrypt.c: encrypt.c:74: error: (Each undeclared identifier is reported only once
encrypt.c: encrypt.c:74: error: for each function it appears in.)
encrypt.c: encrypt.c:74: error: expected ';' before 'key0'
encrypt.c: encrypt.c:75: error: expected ';' before 'temp0'
encrypt.c: encrypt.c:78: error: 'temp0' undeclared (first use in this function)
encrypt.c: encrypt.c:78: error: 'key0' undeclared (first use in this function)
encrypt.c: encrypt.c:91: error: 'temp1' undeclared (first use in this function)
encrypt.c: encrypt.c:91: error: 'rkeys' undeclared (first use in this function)
encrypt.c: encrypt.c:91: error: 'temp4' undeclared (first use in this function)
encrypt.c: encrypt.c: At top level:
encrypt.c: encrypt.c:104: error: expected declaration specifiers or '...' before '__m128i'
encrypt.c: encrypt.c: In function 'aes128ni_setkey_decrypt':
encrypt.c: encrypt.c:105: error: '__m128i' undeclared (first use in this function)
encrypt.c: encrypt.c:105: error: expected ';' before 'tkeys'
encrypt.c: encrypt.c:107: error: 'tkeys' undeclared (first use in this function)
encrypt.c: encrypt.c:107: error: too many arguments to function 'aes128ni_setkey_encrypt'
encrypt.c: encrypt.c:108: error: 'rkeys' undeclared (first use in this function)
encrypt.c: encrypt.c: At top level:
encrypt.c: encrypt.c:115: error: expected ';', ',' or ')' before 'ekeys'
encrypt.c: encrypt.c:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'aes128ni_encrypt1_si128'
encrypt.c: encrypt.c:136: error: expected declaration specifiers or '...' before '__m128i'
encrypt.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/aeadaes128ocbtaglen128v1/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccQfZRa9.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//ccBDCRYm.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/aeadaes128ocbtaglen128v1/opt
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//cceF5FeJ.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_aeadaes128ocbtaglen128v1.a(ocb.o): In function `gen_offset_from_nonce':
try.c: ocb.c:(.text+0x...): undefined reference to `__builtin_bswap64'
try.c: ocb.c:(.text+0x...): undefined reference to `__builtin_bswap64'
try.c: collect2: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv opt

Compiler output

Implementation: crypto_aead/aeadaes128ocbtaglen128v1/opt
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//cc3zQxwe.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_aeadaes128ocbtaglen128v1.a(ocb.o): In function `gen_offset_from_nonce':
try.c: ocb.c:(.text+0x...): undefined reference to `__builtin_bswap64'
try.c: ocb.c:(.text+0x...): undefined reference to `__builtin_bswap64'
try.c: collect2: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv opt

Compiler output

Implementation: crypto_aead/aeadaes128ocbtaglen128v1/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccBxUKHI.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//ccSYVSOM.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/aeadaes128ocbtaglen128v1/opt
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//cceZAoob.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_aeadaes128ocbtaglen128v1.a(ocb.o): In function `gen_offset_from_nonce':
try.c: ocb.c:(.text+0x...): undefined reference to `__builtin_bswap64'
try.c: ocb.c:(.text+0x...): undefined reference to `__builtin_bswap64'
try.c: collect2: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv opt

Compiler output

Implementation: crypto_aead/aeadaes128ocbtaglen128v1/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//cchlbgDw.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//ccsxUjEc.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/aeadaes128ocbtaglen128v1/opt
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccI54k6I.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_aeadaes128ocbtaglen128v1.a(ocb.o): In function `gen_offset_from_nonce':
try.c: ocb.c:(.text+0x...): undefined reference to `__builtin_bswap64'
try.c: ocb.c:(.text+0x...): undefined reference to `__builtin_bswap64'
try.c: collect2: ld returned 1 exit status

Number of similar (compiler,implementation) pairs: 1, namely:
CompilerImplementations
gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv opt

Compiler output

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