Implementation notes: amd64, sliver, crypto_aead/aesjambuv1

Computer: sliver
Architecture: amd64
CPU ID: GenuineIntel-00040651-bfebfbff
SUPERCOP version: 20160731
Operation: crypto_aead
Primitive: aesjambuv1
TimeImplementationCompilerBenchmark dateSUPERCOP version
87558aesniclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016072420160718
258288refclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016072420160718
387690refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072420160718
413544refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072420160718
436056refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072420160718
553386refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072420160718

Compiler output

Implementation: crypto_aead/aesjambuv1/ref
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-3b634e.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/try-anything-9ebf70.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
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments ref

Compiler output

Implementation: crypto_aead/aesjambuv1/aesni
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-d68e58.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/try-anything-d50de8.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
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments aesni

Compiler output

Implementation: crypto_aead/aesjambuv1/aesni
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.c: encrypt.c:3:25: error: immintrin.h: No such file or directory
encrypt.c: encrypt.c:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'aes128_keyexpand'
encrypt.c: encrypt.c:32: error: expected ')' before '*' token
encrypt.c: encrypt.c:61: error: expected ')' before '*' token
encrypt.c: encrypt.c:75: error: expected ')' before '*' token
encrypt.c: encrypt.c:98: error: expected ')' before '*' token
encrypt.c: encrypt.c:124: error: expected ')' before '*' token
encrypt.c: encrypt.c:138: error: expected ')' before '*' token
encrypt.c: encrypt.c:159: error: expected ')' before '*' token
encrypt.c: encrypt.c:172: error: expected ')' before '*' token
encrypt.c: encrypt.c:188: error: expected ')' before '*' token
encrypt.c: encrypt.c:211: error: expected ')' before '*' token
encrypt.c: encrypt.c:221: error: expected ')' before '*' token
encrypt.c: encrypt.c:237: error: expected ')' before '*' token
encrypt.c: encrypt.c: In function 'crypto_aead_aesjambuv1_aesni_encrypt':
encrypt.c: encrypt.c:269: error: '__m128i' undeclared (first use in this function)
encrypt.c: encrypt.c:269: error: (Each undeclared identifier is reported only once
encrypt.c: encrypt.c:269: error: for each function it appears in.)
encrypt.c: encrypt.c:269: error: expected ';' before 'jambu_state'
encrypt.c: encrypt.c:270: error: expected ';' before 'stateR'
encrypt.c: encrypt.c:275: error: expected ';' before 'K'
encrypt.c: encrypt.c:276: error: 'K' undeclared (first use in this function)
encrypt.c: encrypt.c:276: error: expected expression before ')' token
encrypt.c: encrypt.c:289: error: 'jambu_state' undeclared (first use in this function)
encrypt.c: encrypt.c:290: error: 'stateR' undeclared (first use in this function)
encrypt.c: ...

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/aesjambuv1/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccunY48t.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//cc0Cev1B.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/aesjambuv1/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//cc5F70b1.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//ccJKF3n1.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/aesjambuv1/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccdNGz2E.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//ccchUojf.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/aesjambuv1/ref
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//ccFTl5d9.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//ccktIG6z.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