Implementation notes: amd64, sliver, crypto_aead/aezv4

Computer: sliver
Architecture: amd64
CPU ID: GenuineIntel-00040651-bfebfbff
SUPERCOP version: 20160731
Operation: crypto_aead
Primitive: aezv4
TimeImplementationCompilerBenchmark dateSUPERCOP version
7878aesniclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016072420160718
1146762refgcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv2016072820160724
1337268refclang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments2016072820160724
1667958refgcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv2016072820160724
2261970refgcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv2016072820160724
2356554refgcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv2016072820160724

Compiler output

Implementation: crypto_aead/aezv4/aesni
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-34eccb.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-09d237.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/aezv4/ref
Compiler: clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments
try.c: /tmp/try-anything-07d7a3.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-736466.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/aezv4/aesni
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
encrypt.c: encrypt.c:181:2: error: #error - This implementation requires __AES__ or __ARM_FEATURE_CRYPTO
encrypt.c: encrypt.c:210: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zero_pad'
encrypt.c: encrypt.c:214: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'one_zero_pad'
encrypt.c: encrypt.c:219: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zero_set_byte'
encrypt.c: encrypt.c:226: error: expected specifier-qualifier-list before 'block'
encrypt.c: encrypt.c:234: error: expected declaration specifiers or '...' before 'size_t'
encrypt.c: encrypt.c:235: error: expected declaration specifiers or '...' before 'size_t'
encrypt.c: encrypt.c:236: error: expected declaration specifiers or '...' before 'size_t'
encrypt.c: encrypt.c: In function 'aez_setup':
encrypt.c: encrypt.c:239: error: 'block' undeclared (first use in this function)
encrypt.c: encrypt.c:239: error: (Each undeclared identifier is reported only once
encrypt.c: encrypt.c:239: error: for each function it appears in.)
encrypt.c: encrypt.c:239: error: expected ';' before 'tmp'
encrypt.c: encrypt.c:241: error: 'aez_ctx_t' has no member named 'I'
encrypt.c: encrypt.c:242: error: 'aez_ctx_t' has no member named 'J'
encrypt.c: encrypt.c:243: error: 'aez_ctx_t' has no member named 'L'
encrypt.c: encrypt.c:245: warning: passing argument 2 of 'blake2b' makes pointer from integer without a cast
encrypt.c: encrypt.c:245: error: too many arguments to function 'blake2b'
encrypt.c: encrypt.c:246: error: 'aez_ctx_t' has no member named 'J'
encrypt.c: encrypt.c:246: error: 'aez_ctx_t' has no member named 'I'
encrypt.c: encrypt.c:247: error: 'aez_ctx_t' has no member named 'L'
encrypt.c: encrypt.c:247: error: 'aez_ctx_t' has no member named 'I'
encrypt.c: encrypt.c:250: error: 'aez_ctx_t' has no member named 'I'
encrypt.c: encrypt.c:250: error: 'tmp' undeclared (first use in this function)
encrypt.c: encrypt.c:250: error: 'aez_ctx_t' has no member named 'I'
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/aezv4/ref
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccVC1ylX.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//ccFpCLl4.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/aezv4/ref
Compiler: gcc -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
try.c: /tmp//ccq2dmdI.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//ccNaDok8.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/aezv4/ref
Compiler: gcc -march=native -mtune=native -O -fomit-frame-pointer -fwrapv
try.c: /tmp//ccsLybH6.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//ccAOzSFC.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/aezv4/ref
Compiler: gcc -march=native -mtune=native -Os -fomit-frame-pointer -fwrapv
try.c: /tmp//cce9C9yp.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//ccBFHaHS.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