Implementation notes: amd64, genji346, crypto_aead/paeq128tnm

Computer: genji346
Architecture: amd64
CPU ID: AuthenticAMD-00830f10-178bfbff
SUPERCOP version: 20191017
Operation: crypto_aead
Primitive: paeq128tnm
TimeObject sizeTest sizeImplementationCompilerBenchmark dateSUPERCOP version
2382010441 28 6553623113 876 66464aesnig++_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
2452035624 28 6553652942 908 66400aesniicpc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102520191017
2476034808 28 6553652174 908 66400aesniicpc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102520191017
2614034256 28 6553652902 908 66400aesniicpc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102520191017
2616034256 28 6553652902 908 66400aesniicpc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102520191017
2616034256 28 6553652902 908 66400aesniicpc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102520191017
2624034256 28 6553652902 908 66400aesniicpc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102520191017
2636034480 28 6553653046 908 66400aesniicpc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102520191017
2638034480 28 6553653046 908 66400aesniicpc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102520191017
2642034480 28 6553653046 908 66400aesniicpc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102520191017
2646034480 28 6553653046 908 66400aesniicpc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102520191017
2858034496 28 6553653118 908 66400aesniicpc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102520191017
2862034496 28 6553653118 908 66400aesniicpc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102520191017
2864034496 28 6553653118 908 66400aesniicpc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102520191017
2864034496 28 6553653118 908 66400aesniicpc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102520191017
2886034784 28 6553653758 908 66400aesniicpc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102520191017
2886034784 28 6553653758 908 66400aesniicpc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102520191017
2886034784 28 6553653758 908 66400aesniicpc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102520191017
2890034784 28 6553653758 908 66400aesniicpc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102520191017
3046010756 28 6553623601 876 66464aesnig++_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
3072037238 28 6553652262 884 66464aesnig++_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
355208205 28 6553619865 860 66464aesnig++_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
208464012451 32 6553627528 872 66416refclang++_-march=native_-O3_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
210734011690 32 6553625904 872 66416refclang++_-march=native_-O2_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
210902011690 32 6553625904 872 66416refclang++_-march=native_-O_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
251184032664 28 6553649966 908 66400reficpc_-march=corei7_-mtune=corei7_-O3_-fomit-frame-pointer2019102520191017
253838028896 28 6553647398 908 66400reficpc_-march=core-avx2_-mtune=core-avx2_-O3_-fomit-frame-pointer2019102520191017
253982028896 28 6553647398 908 66400reficpc_-march=broadwell_-mtune=broadwell_-O3_-fomit-frame-pointer2019102520191017
254534028896 28 6553647398 908 66400reficpc_-march=haswell_-mtune=haswell_-O3_-fomit-frame-pointer2019102520191017
254906028896 28 6553647398 908 66400reficpc_-march=skylake_-mtune=skylake_-O3_-fomit-frame-pointer2019102520191017
255962028088 28 6553646670 908 66400reficpc_-march=ivybridge_-mtune=ivybridge_-O3_-fomit-frame-pointer2019102520191017
257116028088 28 6553646670 908 66400reficpc_-march=corei7-avx_-mtune=corei7-avx_-O3_-fomit-frame-pointer2019102520191017
258164028088 28 6553646670 908 66400reficpc_-march=sandybridge_-mtune=sandybridge_-O3_-fomit-frame-pointer2019102520191017
258442028088 28 6553646670 908 66400reficpc_-march=core-avx-i_-mtune=core-avx-i_-O3_-fomit-frame-pointer2019102520191017
261570033064 28 6553650318 908 66400reficpc_-march=corei7_-mtune=corei7_-O2_-fomit-frame-pointer2019102520191017
263470028424 28 6553646982 908 66400reficpc_-march=corei7-avx_-mtune=corei7-avx_-O2_-fomit-frame-pointer2019102520191017
263976028424 28 6553646982 908 66400reficpc_-march=ivybridge_-mtune=ivybridge_-O2_-fomit-frame-pointer2019102520191017
264506028424 28 6553646982 908 66400reficpc_-march=sandybridge_-mtune=sandybridge_-O2_-fomit-frame-pointer2019102520191017
265132028424 28 6553646982 908 66400reficpc_-march=core-avx-i_-mtune=core-avx-i_-O2_-fomit-frame-pointer2019102520191017
273956029264 28 6553648174 908 66400reficpc_-march=skylake_-mtune=skylake_-O2_-fomit-frame-pointer2019102520191017
274894029264 28 6553648174 908 66400reficpc_-march=broadwell_-mtune=broadwell_-O2_-fomit-frame-pointer2019102520191017
275138029264 28 6553648174 908 66400reficpc_-march=haswell_-mtune=haswell_-O2_-fomit-frame-pointer2019102520191017
275202029264 28 6553648174 908 66400reficpc_-march=core-avx2_-mtune=core-avx2_-O2_-fomit-frame-pointer2019102520191017
450084012500 28 6553627494 884 66464refg++_-march=native_-mtune=native_-O3_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
61198407198 32 6553618630 864 66400refclang++_-march=native_-Os_-fomit-frame-pointer_-fwrapv_-Qunused-arguments_-fPIC_-fPIE2019102520191017
77342407466 28 6553620281 876 66464refg++_-march=native_-mtune=native_-O2_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
88675206650 28 6553619297 876 66464refg++_-march=native_-mtune=native_-O_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017
256771405060 28 6553616689 860 66464refg++_-march=native_-mtune=native_-Os_-fomit-frame-pointer_-fwrapv_-fPIC_-fPIE2019102520191017

Test failure

Implementation: aesni
Security model: unknown
Compiler: icpc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer
error 111

Number of similar (compiler,implementation) pairs: 12, namely:
CompilerImplementations
icpc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer aesni
icpc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer aesni
icpc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer aesni
icpc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer aesni
icpc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer aesni
icpc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer aesni
icpc -march=cannonlake -mtune=cannonlake -O2 -fomit-frame-pointer ref
icpc -march=cannonlake -mtune=cannonlake -O3 -fomit-frame-pointer ref
icpc -march=icelake-client -mtune=icelake-client -O2 -fomit-frame-pointer ref
icpc -march=icelake-client -mtune=icelake-client -O3 -fomit-frame-pointer ref
icpc -march=skylake-avx512 -mtune=skylake-avx512 -O2 -fomit-frame-pointer ref
icpc -march=skylake-avx512 -mtune=skylake-avx512 -O3 -fomit-frame-pointer ref

Compiler output

Implementation: aesni
Security model: unknown
Compiler: clang++ -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.cpp: In file included from encrypt.cpp:10:
encrypt.cpp: In file included from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/algorithm:62:
encrypt.cpp: In file included from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/bits/stl_algo.h:65:
encrypt.cpp: In file included from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/random:51:
encrypt.cpp: In file included from /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/x86_64-redhat-linux/bits/opt_random.h:33:
encrypt.cpp: In file included from /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/x86intrin.h:27:
encrypt.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/ia32intrin.h:41:10: error: use of undeclared identifier '__builtin_ia32_bsrsi'
encrypt.cpp: return __builtin_ia32_bsrsi (__X);
encrypt.cpp: ^
encrypt.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/ia32intrin.h:112:1: error: definition of builtin function '__rdtsc'
encrypt.cpp: __rdtsc (void)
encrypt.cpp: ^
encrypt.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/ia32intrin.h:134:10: error: use of undeclared identifier '__builtin_ia32_rolqi'
encrypt.cpp: return __builtin_ia32_rolqi (__X, __C);
encrypt.cpp: ^
encrypt.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/ia32intrin.h:142:10: error: use of undeclared identifier '__builtin_ia32_rolhi'; did you mean '__builtin_ia32_korhi'?
encrypt.cpp: return __builtin_ia32_rolhi (__X, __C);
encrypt.cpp: ^
encrypt.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/ia32intrin.h:41:10: note: '__builtin_ia32_korhi' declared here
encrypt.cpp: return __builtin_ia32_bsrsi (__X);
encrypt.cpp: ^
encrypt.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/ia32intrin.h:159:10: error: use of undeclared identifier '__builtin_ia32_rorqi'; did you mean '__builtin_ia32_korhi'?
encrypt.cpp: return __builtin_ia32_rorqi (__X, __C);
encrypt.cpp: ^
encrypt.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/ia32intrin.h:41:10: note: '__builtin_ia32_korhi' declared here
encrypt.cpp: ...

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

Compiler output

Implementation: aesni
Security model: unknown
Compiler: icpc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
encrypt.cpp: encrypt.cpp(21): warning #1879: unimplemented pragma ignored
encrypt.cpp: #pragma intrinsic(_mm_set_epi64x)
encrypt.cpp: ^
encrypt.cpp:

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

Compiler output

Implementation: opt-win-aes
Security model: unknown
Compiler: clang++ -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.cpp: In file included from encrypt.cpp:12:
encrypt.cpp: In file included from /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/wmmintrin.h:31:
encrypt.cpp: In file included from /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/emmintrin.h:31:
encrypt.cpp: In file included from /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/xmmintrin.h:31:
encrypt.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:55:72: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
encrypt.cpp: extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
encrypt.cpp: ^
encrypt.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:61:72: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
encrypt.cpp: extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
encrypt.cpp: ^
encrypt.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:68:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
encrypt.cpp: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
encrypt.cpp: ^
encrypt.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:74:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
encrypt.cpp: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
encrypt.cpp: ^
encrypt.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:84:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
encrypt.cpp: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
encrypt.cpp: ^
encrypt.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:90:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
encrypt.cpp: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
encrypt.cpp: ^
encrypt.cpp: /software/compilers/gcc/gcc-9.2.0-full+isl+binutils/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/mmintrin.h:97:74: warning: unknown attribute '__artificial__' ignored [-Wunknown-attributes]
encrypt.cpp: extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
encrypt.cpp: ^
encrypt.cpp: ...

Number of similar (compiler,implementation) pairs: 4, namely:
CompilerImplementations
clang++ -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt-win-aes
clang++ -march=native -O3 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt-win-aes
clang++ -march=native -O -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt-win-aes
clang++ -march=native -Os -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE opt-win-aes

Compiler output

Implementation: opt-win-aes
Security model: unknown
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.cpp: encrypt.cpp:13:10: fatal error: intrin.h: No such file or directory
encrypt.cpp: 13 | #include <intrin.h>
encrypt.cpp: | ^~~~~~~~~~
encrypt.cpp: compilation terminated.

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

Compiler output

Implementation: opt-win-aes
Security model: unknown
Compiler: icpc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
encrypt.cpp: encrypt.cpp(13): catastrophic error: cannot open source file "intrin.h"
encrypt.cpp: #include <intrin.h>
encrypt.cpp: ^
encrypt.cpp:
encrypt.cpp: compilation aborted for encrypt.cpp (code 4)

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

Compiler output

Implementation: ref
Security model: unknown
Compiler: clang++ -march=native -O2 -fomit-frame-pointer -fwrapv -Qunused-arguments -fPIC -fPIE
encrypt.cpp: encrypt.cpp:355:27: warning: implicit conversion from 'int' to 'unsigned char' changes value from 256 to 0 [-Wconstant-conversion]
encrypt.cpp: D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits, zero for 256-bit nonce
encrypt.cpp: ~ ~~~~~~~~~~~~~~~~^~
encrypt.cpp: encrypt.cpp:610:27: warning: implicit conversion from 'int' to 'unsigned char' changes value from 256 to 0 [-Wconstant-conversion]
encrypt.cpp: D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits, zero for 256-bit nonce
encrypt.cpp: ~ ~~~~~~~~~~~~~~~~^~
encrypt.cpp: encrypt.cpp:864:27: warning: implicit conversion from 'int' to 'unsigned char' changes value from 256 to 0 [-Wconstant-conversion]
encrypt.cpp: D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits
encrypt.cpp: ~ ~~~~~~~~~~~~~~~~^~
encrypt.cpp: 3 warnings generated.

Number of similar (compiler,implementation) pairs: 4, 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

Compiler output

Implementation: ref
Security model: unknown
Compiler: g++ -march=native -mtune=native -O2 -fomit-frame-pointer -fwrapv -fPIC -fPIE
encrypt.cpp: encrypt.cpp: In function 'int crypto_aead_paeq128tnm_ref_encrypt(unsigned char*, long long unsigned int*, const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*, const unsigned char*)':
encrypt.cpp: encrypt.cpp:355:27: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '256' to '0' [-Woverflow]
encrypt.cpp: 355 | D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits, zero for 256-bit nonce
encrypt.cpp: encrypt.cpp: In function 'int crypto_aead_encrypt_no_nonce(unsigned char*, long long unsigned int*, const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int, const unsigned char*, unsigned char*, const unsigned char*)':
encrypt.cpp: encrypt.cpp:610:27: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '256' to '0' [-Woverflow]
encrypt.cpp: 610 | D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits, zero for 256-bit nonce
encrypt.cpp: encrypt.cpp: In function 'int crypto_aead_paeq128tnm_ref_decrypt(unsigned char*, long long unsigned int*, unsigned char*, const unsigned char*, long long unsigned int, const unsigned char*, long long unsigned int, const unsigned char*, const unsigned char*)':
encrypt.cpp: encrypt.cpp:864:27: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '256' to '0' [-Woverflow]
encrypt.cpp: 864 | D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits

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

Compiler output

Implementation: ref
Security model: unknown
Compiler: icpc -march=broadwell -mtune=broadwell -O2 -fomit-frame-pointer
encrypt.cpp: encrypt.cpp(355): warning #69: integer conversion resulted in truncation
encrypt.cpp: D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits, zero for 256-bit nonce
encrypt.cpp: ^
encrypt.cpp:
encrypt.cpp: encrypt.cpp(610): warning #69: integer conversion resulted in truncation
encrypt.cpp: D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits, zero for 256-bit nonce
encrypt.cpp: ^
encrypt.cpp:
encrypt.cpp: encrypt.cpp(864): warning #69: integer conversion resulted in truncation
encrypt.cpp: D0[0] = CRYPTO_NPUBBYTES*8; //nonce length in bits
encrypt.cpp: ^
encrypt.cpp:

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