Implementation notes: amd64, genji346, crypto_aead/juliusv1draft

Computer: genji346
Architecture: amd64
CPU ID: AuthenticAMD-00830f10-178bfbff
SUPERCOP version: 20191017
Operation: crypto_aead
Primitive: juliusv1draft

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
aes.c: aes.c:530:10: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration]
aes.c: printf("%02x",state[idx2][idx]);
aes.c: ^
aes.c: aes.c:530:10: note: include the header <stdio.h> or explicitly provide a declaration for 'printf'
aes.c: aes.c:531:4: warning: implicit declaration of function 'puts' is invalid in C99 [-Wimplicit-function-declaration]
aes.c: puts("");
aes.c: ^
aes.c: aes.c:539:21: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
aes.c: printf("%08x",key[idx]);
aes.c: ~~~~ ^~~~~~~~
aes.c: %08lx
aes.c: aes.c:540:4: warning: implicit declaration of function 'puts' is invalid in C99 [-Wimplicit-function-declaration]
aes.c: puts("");
aes.c: ^
aes.c: 4 warnings generated.
encrypt.c: In file included from encrypt.c:10:
encrypt.c: ./functions.c:2:10: fatal error: 'AES/aes.c' file not found
encrypt.c: #include "AES/aes.c"
encrypt.c: ^~~~~~~~~~~
encrypt.c: 1 error generated.

Number of similar (compiler,implementation) pairs: 5, namely:
CompilerImplementations
clang -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref
clang -mcpu=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE ref

Compiler output

Implementation: ref
Security model: unknown
Compiler: gcc -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
aes.c: aes.c: In function 'printstate':
aes.c: aes.c:530:10: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
aes.c: 530 | printf("%02x",state[idx2][idx]);
aes.c: | ^~~~~~
aes.c: aes.c:530:10: warning: incompatible implicit declaration of built-in function 'printf'
aes.c: aes.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
aes.c: +++ |+#include <stdio.h>
aes.c: 1 |
aes.c: aes.c:531:4: warning: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
aes.c: 531 | puts("");
aes.c: | ^~~~
aes.c: aes.c: In function 'print_rnd_key':
aes.c: aes.c:539:7: warning: incompatible implicit declaration of built-in function 'printf'
aes.c: 539 | printf("%08x",key[idx]);
aes.c: | ^~~~~~
aes.c: aes.c:539:7: note: include '<stdio.h>' or provide a declaration of 'printf'
encrypt.c: In file included from encrypt.c:10:
encrypt.c: functions.c:2:10: fatal error: AES/aes.c: No such file or directory
encrypt.c: 2 | #include "AES/aes.c"
encrypt.c: | ^~~~~~~~~~~
encrypt.c: compilation terminated.

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

Compiler output

Implementation: ref
Security model: unknown
Compiler: icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
aes.c: aes.c(530): warning #266: function "printf" declared implicitly
aes.c: printf("%02x",state[idx2][idx]);
aes.c: ^
aes.c:
aes.c: aes.c(531): warning #266: function "puts" declared implicitly
aes.c: puts("");
aes.c: ^
aes.c:
aes.c: aes.c(539): warning #266: function "printf" declared implicitly
aes.c: printf("%08x",key[idx]);
aes.c: ^
aes.c:
aes.c: aes.c(540): warning #266: function "puts" declared implicitly
aes.c: puts("");
aes.c: ^
aes.c:
encrypt.c: In file included from encrypt.c(10):
encrypt.c: functions.c(2): catastrophic error: cannot open source file "AES/aes.c"
encrypt.c: #include "AES/aes.c"
encrypt.c: ^
encrypt.c:
encrypt.c: compilation aborted for encrypt.c (code 4)

Number of similar (compiler,implementation) pairs: 24, namely:
CompilerImplementations
icc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer ref
icc -march=broadwell -mtune=broadwell -O3 -fomit-frame-pointer ref
icc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer ref
icc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer ref
icc -march=core-avx-i -mtune=core-avx-i -O2 -fomit-frame-pointer ref
icc -march=core-avx-i -mtune=core-avx-i -O3 -fomit-frame-pointer ref
icc -march=core-avx2 -mtune=core-avx2 -O2 -fomit-frame-pointer ref
icc -march=core-avx2 -mtune=core-avx2 -O3 -fomit-frame-pointer ref
icc -march=corei7-avx -mtune=corei7-avx -O2 -fomit-frame-pointer ref
icc -march=corei7-avx -mtune=corei7-avx -O3 -fomit-frame-pointer ref
icc -march=corei7 -mtune=corei7 -O2 -fomit-frame-pointer ref
icc -march=corei7 -mtune=corei7 -O3 -fomit-frame-pointer ref
icc -march=haswell -mtune=haswell -O2 -fomit-frame-pointer ref
icc -march=haswell -mtune=haswell -O3 -fomit-frame-pointer ref
icc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer ref
icc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer ref
icc -march=ivybridge -mtune=ivybridge -O2 -fomit-frame-pointer ref
icc -march=ivybridge -mtune=ivybridge -O3 -fomit-frame-pointer ref
icc -march=sandybridge -mtune=sandybridge -O2 -fomit-frame-pointer ref
icc -march=sandybridge -mtune=sandybridge -O3 -fomit-frame-pointer ref
icc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer ref
icc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer ref
icc -march=skylake -mtune=skylake -O2 -fomit-frame-pointer ref
icc -march=skylake -mtune=skylake -O3 -fomit-frame-pointer ref