Implementation notes: x86, leaf, crypto_aead/aes128cpfbv1

Computer: leaf
Architecture: x86
CPU ID: unknown CPU ID
SUPERCOP version: 20160731
Operation: crypto_aead
Primitive: aes128cpfbv1
TimeImplementationCompilerBenchmark dateSUPERCOP version
337556aesrefgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072920160724
467152aesrefgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072920160724
475100aesrefgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072920160724
497572aesrefgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072920160724
896120refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072920160724
922528refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072920160724
985376refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072920160724
1010440refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072920160724

Compiler output

Implementation: crypto_aead/aes128cpfbv1/gladman
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
aeskey.c: aeskey.c:25:27: error: aes_via_ace.h: No such file or directory
aeskey.c: aeskey.c: In function 'aes_encrypt_key128':
aeskey.c: aeskey.c:100: error: 'VIA_ACE_AVAILABLE' undeclared (first use in this function)
aeskey.c: aeskey.c:100: error: (Each undeclared identifier is reported only once
aeskey.c: aeskey.c:100: error: for each function it appears in.)
aeskey.c: aeskey.c: In function 'aes_encrypt_key256':
aeskey.c: aeskey.c:201: error: 'VIA_ACE_AVAILABLE' undeclared (first use in this function)

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

Compiler output

Implementation: crypto_aead/aes128cpfbv1/aesni
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
cpfbkey.c: cpfbkey.c:15:23: error: wmmintrin.h: No such file or directory
cpfbkey.c: In file included from cpfbkey.c:17:
cpfbkey.c: cpfbkey.h:6: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.h:7: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.h:10: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.h:12: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.c:21: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.c:41: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.c:98: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.c:147: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.c:159: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.c:172: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.c:221: error: expected ')' before '*' token
cpfbkey.c: cpfbkey.c:301: error: expected ')' before '*' token

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/aes128cpfbv1/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccH0JU3Q.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//ccJE25ld.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/aes128cpfbv1/aesref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccPodhfY.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//ccFurntV.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 aesref

Compiler output

Implementation: crypto_aead/aes128cpfbv1/evp
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccckg5Hr.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_aes128cpfbv1.a(encrypt.o): In function `crypto_aead_aes128cpfbv1_evp_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: crypto_aead_aes128cpfbv1.a(encrypt.o):encrypt.c:(.text+0x...): more undefined references to `__builtin_bswap32' follow
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 evp

Compiler output

Implementation: crypto_aead/aes128cpfbv1/aesref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//cceFOjoD.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//ccmVaJOb.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 aesref

Compiler output

Implementation: crypto_aead/aes128cpfbv1/evp
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccphCjMc.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_aes128cpfbv1.a(encrypt.o): In function `crypto_aead_aes128cpfbv1_evp_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: crypto_aead_aes128cpfbv1.a(encrypt.o):encrypt.c:(.text+0x...): more undefined references to `__builtin_bswap32' follow
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 evp

Compiler output

Implementation: crypto_aead/aes128cpfbv1/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccxN414V.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//ccl3P9dr.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/aes128cpfbv1/evp
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccDc3rTA.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_aes128cpfbv1.a(encrypt.o): In function `crypto_aead_aes128cpfbv1_evp_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: crypto_aead_aes128cpfbv1.a(encrypt.o):encrypt.c:(.text+0x...): more undefined references to `__builtin_bswap32' follow
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 evp

Compiler output

Implementation: crypto_aead/aes128cpfbv1/aesref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccwxiSrm.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//ccpb2aYx.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 aesref

Compiler output

Implementation: crypto_aead/aes128cpfbv1/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccy4TQHw.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//ccffckK4.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/aes128cpfbv1/aesref
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccZqBpZa.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//cciF7Wm3.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 aesref

Compiler output

Implementation: crypto_aead/aes128cpfbv1/evp
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccbysS5y.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_aes128cpfbv1.a(encrypt.o): In function `crypto_aead_aes128cpfbv1_evp_decrypt':
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: encrypt.c:(.text+0x...): undefined reference to `__builtin_bswap32'
try.c: crypto_aead_aes128cpfbv1.a(encrypt.o):encrypt.c:(.text+0x...): more undefined references to `__builtin_bswap32' follow
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 evp

Compiler output

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